Author Topic: setting variables back to previous  (Read 1815 times)

0 Members and 1 Guest are viewing this topic.

AfricaAD

  • Guest
setting variables back to previous
« on: October 18, 2004, 06:07:22 PM »
I have a code block right now. I have a lisp in which I am disabling osmode & trying to set back to the previous osmode setting when the lisp ends. What's the code for it again?

pmvliet

  • Guest
setting variables back to previous
« Reply #1 on: October 18, 2004, 06:45:08 PM »
you would need to do a getvar and set it to a variable when you start your routine and then when your routine is done you would do a setvar of that variable to redefine the value.

In simplistic wording.

Pieter

AfricaAD

  • Guest
setting variables back to previous
« Reply #2 on: October 18, 2004, 07:10:01 PM »
doh!  :?