LISP ROUTINE CUTTING OFF SNAPS

LISP ROUTINE CUTTING OFF SNAPS

Anonymous
Not applicable
283 Views
1 Reply
Message 1 of 2

LISP ROUTINE CUTTING OFF SNAPS

Anonymous
Not applicable

This is a compiled set of lisp routines. I am having trouble with my snaps being restored after a command is executed then exited. I have changed the local variables of two of the routines so they didnt have the same local variable to get confused but it still has problems. Can someone please look this over and let me know what is going wrong. Thank you,

0 Likes
284 Views
1 Reply
Reply (1)
Message 2 of 2

Kent1Cooper
Consultant
Consultant

Without digging too deeply yet....  Does it also fail to reset the CMDECHO value to what it was when you started?  If "exited" might be by way of Escape at any time rather than only by the Enter option when offered, then you would need to add error handling to reset the System Variables.  Search this Forum for

 

(defun *error*

 

and you'll find countless examples of how to do that.

Kent Cooper, AIA