Jump to content

Recommended Posts

Posted

So I have some functions that want to modify various Opt() settings, but I'd like to be able to restore them before the function returns. Is there someway I can get the current value of an option so I can put it back later?

Posted

So I have some functions that want to modify various Opt() settings, but I'd like to be able to restore them before the function returns. Is there someway I can get the current value of an option so I can put it back later?

<{POST_SNAPBACK}>

all OPt() return the previous value see doc

Returns the value of the previous setting.

:)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...