Changes

Jump to: navigation, search

Declaring Visual Basic Variables and Constants

31 bytes added, 13:57, 19 March 2009
Module Level Scope
=== Module Level Scope ===
<google>ADSDAQBOX_FLOW</google>
When a variable or constant is declared outside of any procedures or code structures in a Module it is deemed to have module level scope. This means that the variable or constant is visible to all Visual basic code contained in the same module, regardless of whether that code is located in a procedure or not. There is a section at the top of each module called the ''Declarations Section'' for this purpose. The Declaration section is located above all procedures and code in a module. For more information about modules see the [[Visual Basic Modules and Procedures]] chapter of this book.

Navigation menu