i wrote a lisp, where i have to set OSNAP to 2, if the user enters ESC key, my program stopps and i have OSNAP set to 2, but i want to change it back to the value it had at the beginn of my program (setq OSNAPOLD (getvar "OSNAP")) .. .. program .. .. *if ESC ist pressed, stop program AND set OSNAP back to OSNAPOLD any help welcome mfg gert