Purpose 
Declares a user-defined constant. 
Syntax 
Const Name [As datatype] = "Expression" 
 
 
Name  | 
The name of your constant.  | 
 
As datatype  | 
If you don't specify a data type, the data type of the assigned expression is used.  | 
 
Expression  | 
Any type of expression.  | 
 
  
 
Example 
Sub Main() 
        Const MYSTRING = "Hello world" 
End Sub 
 |