- Code: Select all
(load "/home/sterling/helloworld.cl")
But everytime it tells me that the CL-USER> variable is unbound. I'm not sure how to make the variable...bound? Can anyone tell me how to fix this? Thanks.
(load "/home/sterling/helloworld.cl")
Ramarren wrote:You posted in the Emacs Lisp subforum, but "CL" indicates Common Lisp. Are you aware of the difference? Where do you type your form in? Also, "CL-USER>" is not a variable, it is usually a SLIME prompt indicating current package. How did you save your file?
SterlingM wrote:It tells me that the CL-USER> variable is unbound. I'm not sure how to make the variable...bound? Can anyone tell me how to fix this? Thanks.
JamesF wrote:SterlingM wrote:It tells me that the CL-USER> variable is unbound. I'm not sure how to make the variable...bound? Can anyone tell me how to fix this? Thanks.
It would help if you posted the code in question, so that we can see what CL is trying to evaluate. At a guess, you've taken the example a bit too literally and typed CL-USER> at the beginning of a line; CL won't realise you've repeated its prompt, and will try to resolve that variable.
So you could bind that symbol to a variable, but I strongly suspect that it would be the correct solution to the wrong problem.
(load "/home/sterling/helloworld.lisp")
SterlingM wrote:(in a new file)
Users browsing this forum: No registered users and 3 guests