variables

J

jim c.

I have about 50 variables that when a user clicks a reset
button all the variables are set to their original state.
example:

a = False
b = ""
c = 0
d = Nothing

this group of variables accounts for every module level
variable.

My question is, is there an easier way to reset these
variables with some type of for next loop or
procedure/method that could accomplish this without having
them all coded as above?

TIA
 
T

Tom Ogilvy

No. Not a good way. You could issue an END statement but that stops code
execution as well.

Regards,
Tom Ogilvy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top