From: Hans N. <hn...@cu...> - 2001-05-20 08:38:12
|
Hi, I'm new to CLISP and LISP in general. The other day I downloaded copies of version 2.25 and 2.25.1 of CLISP for Windows (I am using Win98). I have problems feeding LISP files to it though. I have a very simple test program "hello.lsp": (write-line "Hello, world!") Doing this in interactive mode works fine. Loading the file works fine too; so does specifying the file on the command line with -i, like lisp.exe [...] -i hello.lsp However, what I want is to have CLISP start, load the program, execute it, and stop. From what I got from the manual, this is what this command line should do: lisp.exe -B c:\lang\clisp\ -M lispinit.exe hello.lsp It doesn't work though. In 2.25, nothing happens at all, and in 2.25.1, I get an error message, something about 'invalid form ".BAT"'. As said, everything else works, including compiling the program using the -c switch. I am obviously missing something. But what? Thanks in advance, --Hans Nowak (zep...@hv...) You call me a masterless man. You are wrong. I am my own master. May a spaniel wipe the sweat from your glass of milk! |