在(action_tile ...)后面加上一句:(done_dialog)就可以了。
(DEFUN C:y(/) (SETQ DCL_ID (LOAD_DIALOG "zz.DCL") ) (NEW_DIALOG "zz" DCL_ID) (actIon_tile "RECT_A" "(done_dialog 1)") (actIon_tile "RECT_B" "(done_dialog 2)") (actIon_tile "RECT_C" "(done_dialog 3)") (actIon_tile "RECT_D" "(done_dialog 4)") (setq next (START_DIALOG))
(UNLOAD_DIALOG DCL_ID) (cond ((= next 1) (C:xx)) ((= next 2) (C:cc)) ((= next 3) (C:g1)) ((= next 4) (C:g2))
)
)
后面的程序自己加吧 |