When referring to file paths in Common LISP, it's best to either use the pathname directive: (load #p("/path/to/file")
-or-
...better yet, just use the arbitrary pathname tricks in Common LISP:
(load (make-pathname
:device "c"
:directory '(:absolute "temp")
:name "testload"))
Now, however, there's a problem with the syntax of your code; proper Common LISP code for your little snippet should read (NOTE: This example's using arbitrary pathnames.):
(load (make-pathname
:device "c"
:directory '(:absolute "temp")
:name "testload")
:if-does-not-exist (load (make-pathname :device "c" :directory '(:absolute "temp") :name "testload2"))
Last edited by indienick; Mar 22nd, 2007 at 5:36 pm.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.