- All variables are identified by a name.
- The name is case sensitive.
- Variables can change their type during runtime. There exists functions to check the data type.
- If a variable ist not defined explicitly with an assignment, this variable will be set to 0.
Value assignment
The syntax to assign a value to a variable is
variable name = expression
The expression expression
can be a value – a number or a string – or a mathematical function.
Examples
A = 1
B = "HALLO"
B = sin(a)
D = B * EXP(3,14, 2)
DIM F
LISTADD(F, 2)