I wrote a newlisp file ,let's say, test1.lsp
then I want the test1.lsp to deal with files in the (main-args) , like
Code: Select all
newlisp test1.lsp xxxx.file
but then I found out , the command "newlisp" will also try to run xxxx.file whatever it is,just a file
I think there is no method can stop this behavior ,right?
so maybe newlisp can have a command line argument,like -f ? to seprate the files need to be executed or just use them as "string argments" ?