新人求助Lispbox
lisp吧
全部回复
仅看楼主
level 12
yichyzhang 楼主
新人用Lispbox自学Common Lisp,在(load "hello.lisp")的时候总是弹“
Unbound variable: CL-USER>
[Condition of type UNBOUND-VARIABLE]
”错误是怎么一回事啊。
默认路径什么的都调过了。
望解惑。。。
2015年01月02日 04点01分 1
level 3
。。。。help下拉键,第一个按键,
2015年01月04日 01点01分 2
level 3
哦,等等,你是按照实用common lisp的教程做的吧?
2015年01月04日 01点01分 3
level 3
你确定,hello这个缓冲区你有写函数?我记得书上说路径什么的不需要关心啊。。。
2015年01月04日 01点01分 4
level 12
yichyzhang 楼主
; SLIME 2011-02-04
CL-USER> (defun hello-world()(format t "hello, world"))
HELLO-WORLD
CL-USER> (hello-world)
hello, world
NIL
CL-USER>
写的是这个啊。
2015年01月04日 05点01分 5
level 1
同这个错误,也是不知道如何保存和加载
2015年01月12日 04点01分 6
1