程序是插入一个块,一切正常,但运行后
在命令提示符中,它给出“错误:无函数定义:nil”
(DTR)是一种以用户界面DCL提供的列表格式存储信息的功能
- (defun c:getDialogInput (/ input aone )
- (setq input (DTR))
- (setq aone (getpoint "\nSelect pickint to insert sheet: "))
- (cond
- ((equal input '("frptitle" "LIGHT")) progn(
- (command "-insert" "//Mailserver/d/backup/TIT_BLOCK_FRP" aone "" "" 0 )
- )
- )
- ((equal input '("fabtitle" "LIGHT"))progn(
- (command "-insert" "//Mailserver/d/backup/TIT_BLOCK_FAB" aone "" "" 0 )
- ))
- ((equal input '("quotitle" "LIGHT"))progn(
- (command "-insert" "//Mailserver/d/backup/TIT_BLOCK_QUO" aone "" "" 0)
- ))
- ( T (princ "Nothing") )
- )
- )
|