NEWLISP_PATH for newlisp

Started by newdep, June 10, 2007, 12:21:58 AM

Previous topic - Next topic

newdep

Hi Lutz,



Now Guiserver is introduced its perhpas an option to also introduce a global

NEWLISP_PATH environment setting...



(if (= ostype "Win32")

    (load (string (env "PROGRAMFILES") "/newlisp/guiserver.lsp"))

    (load "/usr/share/newlisp/guiserver.lsp")

)



can simple be rewritten to (load (string (env "NEWLISP_PATH") "guiserver.lsp"))

(user selectable this is..)



Personaly I always use the newlisp binary from /usr/bin/newlisp on linux and

store newlisp files somewhere else..I never use /usr/share/newlisp

under windows I always install newlisp "not" under "program files".



Another advantage on this is that i dont have the edit the Guiserver befor

running it.. i can simple set the NEWLISP_PATH..





Norman.
-- (define? (Cornflakes))