使用command命令时可不可以获得返回值?
www.dimcax.com
使用command命令时可不可以获得返回值?
我有时用到command命令,并设置了一个pause暂停,以待输入字符或点,我如何能获得这个返回值?
something like this
(command "line" pause pause "")
===>
(command "line" (setq pt1 (getpoint "\npoint1: ")) (setq pt2 (getpoint "\npoint2: " pt1)) "")
or
(vl-cmdf "line" (setq pt1 (getpoint "\npoint1: ")) (setq pt2 (getpoint "\npoint2: " pt1)) "")
好像不能吧
command 没有返回值