user enviroment var NEWLISPDIR

Q&A's, tips, howto's
Locked
HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

user enviroment var NEWLISPDIR

Post by HPW »

Since 9.2.1 we have (env "NEWLISPDIR").
But this is only a valid variable in the running newlisp-process.

So it would be usefull to let the newlisp installer set a system-wide user enviroment variable,
so other applikation could know where newlisp is stored.

On my german WIN it would be:

NEWLISPDIR = C:\Programme\newlisp

The installer defaults to this path, but what happens when the user put it elsewhere?

Other systems does similar, so I have a Tcl_DLL and a Tk_DLL in HKEY_CURRENT_USER\Environment.
Hans-Peter

Locked