Mega Code Archive

 
Categories / VisualBasic Script / Language Basics
 

To make a constant available within a single procedure, you declare it at the procedure level

Sub ageSub()     Const Age As Integer = 25     '...instructions... End Sub