Load file error

"Willem Broekema" <[email protected]> Thu, 6 Sep 2007 15:19:08 +0200
Newsgroups gmane.lisp.allegro
Message-ID <[email protected]>
Hi Fahiem,

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":

CL-USER(7): :cd d:\Fahiem\     ;; no need to escape the backslashes here
d:\Fahiem\
CL-USER(8): :cl testing   ;; looks up testing.lisp
..

Type ":help" to get a list of top-level commands, or see the docs:
http://www.franz.com/support/documentation/8.1/doc/top-level.htm#commands-for-compile-and-load-1

Regards,
- Willem