程序运行完后,为什么sp的值不是nil???????
(Defun C:ASpline (/ SEPoint sen SC SDP SE SEL SN SNN SPSPL SPN SPP SS)在程序的开头,已经把sp加入,程序运行完后,为什么sp的值不是nil ???? 一个假设
Command: (setq sp 6)
6
Command: (defun C:test (/ sp) (setq sp (+ 1 2)) (princ sp) (princ))
C:TEST
Command: test
3
Command: !sp
6
多半是其它地方对sp赋了值,如楼上言。 感谢Andyhon 自贡黄明儒 大师的热情回复,谢谢!!!
页:
[1]