To let the user end any selected command without having to write
code for every possible option, just repeat (command PAUSE) until
the command is ended.
;; Sample by Owen Wengerd
(command "_ARC")
(while (= 1 (logand (getvar "CMDACTIVE") 1)) (command PAUSE))

User Contributions:

Comment about this article, ask questions, or add new information about this topic: