这个错误消息是什么意思:错误:坏函数T?
我试着做了一个while循环
- (setq repetition 0)
- (if (= flag1 2)
- (while ((and (>= tpagen 2) (< repetition tpagen))
- (setq pp (strcat (itoa repetition) " OF " (itoa tpagen)))
- (setq repetition (+ 1 repetition))
- (Choose)))
- )
标志1是用户输入值。
“Choose”在这里是一个定义的函数,它曾经运行良好,但在最后,autocad给了我那个错误消息。
在代码的末尾,我把
- (setq basepointtx (+ 135.5 ( * 1000 repetition)))
- (setq basepointt (list basepointtx 88))
- (command "pasteclip" basepointt))
我想知道这个错误是不是因为没有引用这一点。我该如何引用一个包含变量的点?
谢谢 |