From OpenSCADAWiki
1 The Java-like language
1.1 Elements of the language
Keywords: if, else, while, for, in, break, continue, return, function, using.
Constants:
- decimal: digits 0-9 (12, 111, 678);
- octal: digits 0-7 (012, 011, 076);
- hexadecimal: digits 0-9, letters a-f or A-F (0x12, 0XAB);
- real: 345.23, 2.1e5, 3.4E-5, 3e6;
- boolean: true, false;
- string: "hello", without going to the next line, however, with the support of direct concatenation of the string constants.
Types of variables:
- integer: -263 ... 263, EVAL_INT(-9223372036854775807);
- real: 3.4*10308, EVAL_REAL(-1.79E308);
- Boolean: false, true, EVAL_BOOL(2);
- string: a sequence of character-bytes (0...255) of any length, limited by the capacity of the memory and DB storage; EVAL_STR("<EVAL>").
Built-in constants: pi = 3.14159265..., e = 2.71828182..., EVAL_BOOL(2), EVAL_INT(-9223372036854775807), null,EVAL,EVAL_REAL(-1.79E308), EVAL_STR("<EVAL>")
Global attributes of the DAQ parameter (starting from the subsystem "DAQ", as follows {Type of DAQ module}.{Controller}.{Parameter}.{Attribute}).
The functions and parameters of the object model of OpenSCADA.