You're missing a slash. You mean \\testload.
Rashakil Fol
Super Senior Demiposter
2,658 posts since Jun 2005
Reputation Points: 1,135
Solved Threads: 177
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 snippetshould 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"))
indienick
Junior Poster in Training
71 posts since Aug 2005
Reputation Points: 23
Solved Threads: 2