newLISP Fan Club

Forum => newLISP in the real world => Topic started by: HPW on December 22, 2006, 11:53:13 PM

Title: Env Programfiles in modules
Post by: HPW on December 22, 2006, 11:53:13 PM
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"))