newLISP Fan Club

Forum => Anything else we might add? => Topic started by: Dmi on November 28, 2005, 12:21:30 AM

Title: newlisp arguments and interactive mode
Post by: Dmi on November 28, 2005, 12:21:30 AM
Suppose the file test.lsp is:
(set 's (parse (read-file (main-args 2))))
When I run



c:> newlisp test.lsp somefile.txt



newlisp executes test.lsp, then trying to execute somefile.txt and gots an error.



Is there a way to tell in test.lsp that interacrive mode should be invoked w/o interpreting next cmdline arguments?