Mega Code Archive

 
Categories / VisualBasic Script / Language Basics
 

Use a constant in all the procedures of a module, use the Private keyword in front of the Const statement

Private Const dsk = "B:" Sub privateConst()   MsgBox dsk End Sub