Re: Load file error
Steve Haflich <[email protected]> Thu, 06 Sep 2007 10:20:20 -0700
| Newsgroups | gmane.lisp.allegro |
|---|---|
| Message-ID | <[email protected]> |
On 9/6/07, Fahiem <[email protected]> wrote: > I am newbie to Allegro. The allegro is installed in C drive while my lisp file > is placed in D drive. I am trying to load the file using > > (load "D:\Fahiem\testing.lisp") Backslashes in strings need to be escaped with backslashes. CL-USER(2): (length "a\b") 2 CL-USER(3): (length "a\\b") 3 By the way, it is probably easier to use abbreviations: go to the current directory using ":cd" and the compile-and-load the file using ":cl": Also, nearly everything in Windows accepts a forward slash as equivalent to a forward slash in a file name. The `Command Prompt' shell is one of the few exceptions, but ACL and most other programs are quite happy with forward slashes.