std-read-file-list | ![]() |
std-read-file-list reads a list of lisp lines from a textfile. Every line is converted to a lisp list via (read (strcat "(" line ")").
It uses only standard AutoLISP functions like read-line and will not work with any binary file. I also omits lines containing only whitespace or nothing and lisp-like comments, including lines starting with ";" or inline comments between ;| and |;
TEST.LST:
; testfile "test" 1 50.0 test (std-read-file-list "TEST.LST") => (("test" 1 50.0 TEST))
fname: A filename of an existing file.
A list of lists.
None.
(std-require 'STDFILE)
#- SMALL
Defined in STDFILE