History
Const
Home
•
Help
•
A0
•
Customization Tools
•
FCAS
•
Language Reference
•
Const
Const (BASIC command)
Purpose
Declares a user-defined constant.
Syntax
Const N
ame
[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