linereadstring
linereadstring(t_string) =>g_value/ nil
Description
Executes lineread on a string and returns the first form read in. Anything after the first form is ignored.
Arguments
Value Returned
|
No form is read (that is, the argument string is all spaces). |
Examples
linereadstring "abc"
=> (abc)
linereadstring "f a b c"
=> (f a b c)
linereadstring "x + y"
=> ((x + y))
In the following example, only the first form is read in.
linereadstring "f a b c\n g 1 2 3"
=> (f a b c)
Related Topics
Return to top