Reading from a text file
For such a seemingly simple task, I am having much difficulty with it. Here is the code... (defun C:TXTFILE (/ f LINE) (progn (setq f (open "TEST.TXT" "r")) (setq LINE (read-line f)) (close f) ) (princ)) I'm getting an error when I run that says "; error: bad argument type: ...
- Forum: AutoLisp/SDS
- Topic: Reading from a text file
- Replies: 1
- Views: 4709
- Wed Nov 26, 2003 10:12 am
- Jump to post