read
(read [ expression ] )
This function parses the provided
expression string
and returns the first atom or list from the read
expression.
Arguments |
expression (optional) (string) the string to read the first Lisp atom or list from |
Return |
the first Lisp object read from the input expression string; if omitted, NIL is returned |
Example |
(read "text") TEXT
the Lisp symbol |
Remarks |
as only the first Lisp object is parsed, "(progn ....)" can be used to combine multiple expressions |
© Bricsys NV. All rights reserved. |