Mega Code Archive

 
Categories / VisualBasic Script / Language Basics
 

When declaring a constant, you can use any one of the following data types

Sub constDec()     Const dialogName = "Enter Data"     Const slsTax = 8.5     Const Discount = 0.5     Const ColorIdx = 3     MsgBox slsTax End Sub