Mega Code Archive

 
Categories / VisualBasic Script / Language Basics
 

Private (module-level) variables can be seen by any routine in the module they were declared in, but not from other module

Option Explicit Private mintAge As Integer Private Sub cmd()   mintAge = mintAge + 1   Debug.Print mintAge End Sub