Env Programfiles in modules

Started by HPW, December 22, 2006, 11:53:13 PM

Previous topic - Next topic

HPW

Shouldn't be the env programfiles better used in module sqlite3.lsp?



Instead of:
(> (& 0xF (last (sys-info))) 4) (set 'library "/Program Files/sqlite3/sqlite3.dll")    


better this:
(> (& 0xF (last (sys-info))) 4) (set 'library (string (env "PROGRAMFILES")"/sqlite3/sqlite3.dll"))
Hans-Peter