Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: idoL on July 28, 2004, 04:22 AM

Title: Question!
Post by: idoL on July 28, 2004, 04:22 AM
What's the difference between variables that have module-level scope and procedure-level scope?

Title: Re:Question!
Post by: The-FooL on July 28, 2004, 06:23 AM
Module-level scope variables apply to anything within the module.  Procedure-level scope variables apply only to the procedure/routine they are used in, and are erased when the procedure ends.  Global scope variabls can be used within the entire program.
Title: Re:Question!
Post by: idoL on July 30, 2004, 02:08 AM
Thanks for that.