liminnet发表于2008-9-10 13:42:00 龙大哥,各位大哥,在(defun RECDIR (D / X)主程序中最后加那天个LST是什么意义呀,不加有什么 不同,我不是很明白它的作用
加了之后程序内的 LST 和全局变量 LST (假如有) 相互不相关,例: (setq a 1) (defun test1 (/ a) (if (not a) (setq a 0)(setq a (1+ a)))) (test1)-----> 0 !a----------->1 ------------------------------------------------------------------------------------------- (setq a 1) (defun test2 () (if (not a) (setq a 0)(setq a (1+ a)))) (test2)-----> 2 !a----------->2 |