Invariable

Invariable can be used directly as a variable, but its value never be changed, and its operating-domain is only in the code line that using it. An invariable can evaluate to a variable, but can not be evaluated by others. Invariable type is listed below

Operating-Domain

Type Description
Number Such as: 0, 100, 3.1415926 and etc.
Boolean Such as: True, False
DataTime The value must be surrounded by “[]” the two marks, and its format is fixed, the time part can be ignored, examples are:
[1982/10/19/6/10/59]
[1982/10/19/06:10:59]
[1982-10-19-06-10-59]
[1982-10-19-06:10:59]
[19821019061059]
String The value is a text, must be surrounded by double quotation marks, such as: “Text”.
FunctionAddress This value must be a pointer that point to address of an already existed function, use mark “&” before the function name, such as: “&Function1”, “&_MainFunction” and etc.
Invariable Set It’s for evaluating array by invariable, constant or data of user-defined data type. Each data of the set must be surrounded by “{}” the two marks. Such as: {1,2,3}, {“abc”,”efg”}, {123,”abc”}, {#Black, #White}, {#Picture1, #Sound1}, {1982/10/19/06:10:59}, {&Function1, &_MainFunction}. The set can also be empty to indicate there’s no items in it, just initialize a number array or clear a bin, such as: NumberArray = {}, BinData = {}