Code: Select all
problem accessing file in function load : "rank-list.db"
Code: Select all
(load "C:\\Documents and Settings\\hsmyers\\My Documents\\newLISP-Dev\\newBoard\\file-list.db")
(load "rank-list.db")
--hsm
Code: Select all
problem accessing file in function load : "rank-list.db"
Code: Select all
(load "C:\\Documents and Settings\\hsmyers\\My Documents\\newLISP-Dev\\newBoard\\file-list.db")
(load "rank-list.db")
Code: Select all
(change-dir "C:\\Documents and Settings\\hsmyers\\My Documents\\newLISP-Dev\\newBoard\")
(load "file-list.db" "rank-list.db")
It will not ignore (UNIX and Mac OS X) If you start newlisp-edit in the same shell where you changed the value of the environment variable HOME, it will make this the home directory for the shell process (lower window) and all code evaluated from the editor area.I set the value of HOME to point to the desired directory and the editor cheerfully ignored same.
Code: Select all
(change-dir (env "HOME"))
; or
(change-dir (env "HOMEPATH"))
; or
(change-dir (env "USERPROFILE"))
Code: Select all
problem accessing file in function load : "file-list.db"
called from user defined function ChessBoard:setup
> (env "HOME")
"C:\\Documents and Settings\\hsmyers\\My Documents\\newLISP-Dev\\newBoard"
>