Values, types and variables |
Overview |
Currently you may declare variables of the following predefined types:
Simple values |
|
Variable access |
|
Variables of type Object |
|
Operator example |
|
Predefined functions |
|
Enum definition |
|
User defined types / structures |
' Use of user defined types |
Constant definitions |
Const maxnum = 1234 |
The scope of a constant definition is the whole program. You may define and use a constant anywhere in your source code before or behind the line definining the value of the constant. Currently constant definitions may only be used for the following types of values:
Integer values 1, 555, 12345
Double values 3.1415, 123.456E10
Strings
"Test", "Hello world"
CONST <const-idf> = <const_value>
<const-idf> is the identifier which represents the constant in the
rest of the program.
<const_value> is a constant value of type Integer,
Double or string.
|
Array access |
' Array access |