0 Members and 1 Guest are viewing this topic.
(defun Working ( ) (if (not (eq 'str (type *modemacro*))) (setq *modemacro* (getvar "modemacro")) ) (setvar "modemacro" (setq *working* (cond ((eq *working* "!....") "!!...") ((eq *working* "!!...") "!!!..") ((eq *working* "!!!..") "!!!!.") ((eq *working* "!!!!.") "!!!!!") ("!....") ) ) ) (princ))
(defun Done ( ) (if (eq 'str (type *modemacro*)) (setvar "modemacro" *modemacro*) ) (setq *modemacro* nil) (princ))
(progn ;; fake a process (defun NOP ( ) (repeat 50000 (princ) ) ) ;; pretend we're workin' (repeat 100 (NOP) (Working) ) ;; cleanup (Done) )
Neat idea, but it is misbehaving in ACAD 2000I only see the first change to modemacro