BUG???
Posted: Thu Jun 02, 2005 7:26 pm
Hi Lutz,
Linux 8.5.10 ->
Seems Newlisp is able to execute without execution?
Can you tell me where it is going wrong? or perhpas is it behaviour?
Save the following into a newlisp script i.e. test.lsp
#!/usr/bin/newlisp
(setq one (sym (main-args 2)))
(save "test" (sym (name one)))
Oke... now on the linux prompt.. do execute this script BUT give as argument
an existing newlisp script! And what you will see is that the exmaple above
will execute the script AND save it...
Seems (save(sym...)) is able to execute?
i.e. ->
$test.lsp myprog.lsp
.. myprog.lsp is now executed..
.. and saved to "test"
Regards, Norman.
Linux 8.5.10 ->
Seems Newlisp is able to execute without execution?
Can you tell me where it is going wrong? or perhpas is it behaviour?
Save the following into a newlisp script i.e. test.lsp
#!/usr/bin/newlisp
(setq one (sym (main-args 2)))
(save "test" (sym (name one)))
Oke... now on the linux prompt.. do execute this script BUT give as argument
an existing newlisp script! And what you will see is that the exmaple above
will execute the script AND save it...
Seems (save(sym...)) is able to execute?
i.e. ->
$test.lsp myprog.lsp
.. myprog.lsp is now executed..
.. and saved to "test"
Regards, Norman.