Advertising banner:

History
 
 Const
Home • Help • A0 • Customization Tools • FCAS • Language Reference • Help Document • Help Document • Const
 
Const (BASIC command)
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