of course, I may need pass some args from local
in remote server,I just write a newlisp script
Code: Select all
(define (test str)
(print (string "haha " str (date-value) ) )
)
"haha" with str passed by and the (date-value)
I ran it like newlisp test.lsp -c -d 4711
now the local part
local part is simple,too
I opened a newlisp on my mac ,and run
Code: Select all
(net-eval "192.168.14.101" 4711 "(test \"hey\")" 1000)
I want pass the "hey" to the server
But server only return with "haha"
nothng else
why?
where is the str and the (date-value) ?
or net-eval can not pass any args to remote?
btw: my newlisp is 10.4.3