VBScript defines a number of intrinsic constants . You can get information about these intrinsic constants from the VBScript Language Reference . You create user-defined constants in VBScript using the Const statement. Using the Const statement, you can create string or numeric constants with meaningful names and assign them literal values. This is my string.
Quotation marks are the most obvious way to differentiate string values from numeric values.
You may want to adopt a naming scheme to differentiate constants from variables. This will prevent you from trying to reassign constant values while your script is running. Differentiating constants from variables eliminates confusion as you develop more complex scripts. All rights reserved. This page is part of the CSU Intranet.