Constant
Description
A string constant is specified in " quotation marks.
Example:
"Constant test text"
A numeric constant is formed from digits and a period.
Examples:
12345
1.2345
1000000
1.00001
1
2
3
A negative number can be formed by prefixing the constant with a minus operator.
Examples:
-1
-1.5
-1000
A time constant is specified in square brackets.
The date parts are separated by periods (.), and the time-of-day parts are separated by colons (:).
Examples:
[10.10.92]
[10:30:55]
[10.10.92 10:30:55]
[10.10.93 22:30:55]
Attention:
A constant must never be specified in place of a return value.
This also applies if an @Function has one (or more) return parameters.
For example:
0:=1;
or
@RTFetchText(RT1;0);
This would mean that the constant 0 would have a value other than 0 after one of these lines has been executed.
However, this applies only within the respective Engine Scripts.
An overwritten constant has no effect on other scripts that are currently running or will run in the future.
Note : This text was machine-translated and may contain inaccuracies.
