| <def_name> | Identifier of the symbol defined (see %define), the symbol name is case-sensitive. |
| <string> | String starting with a symbol of quotes or a single quote or also back quote or tilde and ending with the same character; if it starts with tilde (~), macro substitution is applied to its value. |
| <def_value> | Text up to the end of line (the first space will be ignored), presents a value of the symbol defined (see %define). |
| <def_list> | Special list-like symbol, may contain string items. |
| <number> | Decimal number |
| <item-ref> | Reference to inspector item in one of the following formats: item-symbol @_CPU_@item-symbol @component-name@item-symbol |
| <binary_operator> | See also Math Operations + Summation - Subtraction * Multiplication / Real division \ Integer division : Modulo, remainder of integer division, binary operator only, this binary operator was replaced by the : symbol to avoid ambiguity the original symbol can be used as an unary operator | Bit or, logical count, integer operation & bit and, logical multiplication, integer operation ~ bit xor, integer operation ^ power (only a non-negative integer may be an exponent) > or >> bit shift to the right, integer operation < or << bit shift to the left, integer operation Binary operator priority (top to bottom): ^ * / \ : + - > >> < << & ~ | |
| <unary_operator> | = Assignment, works in the same way as %define! <binary_operator>= See binary operator description $= Converts floating point number to closest integer by rounding .= Converts floating point number to integer by removing of the decimal section (truncate) @= Logarithm (inversion operator to ^), the parameter on the left is the logarithm of the one on the right is the base, (8@=2 will return 3), the result is a real number |
| <expression> <number> | Macros and built-in functions in the format %func(params)will be accepted as well, for example, %get; the mark can be changed by superposing the minus mark, for example, -%tmp;(<expression>)<expression><binary_operator><expression> |
| <pvalue> | <def_name> or <string> or %"def_name" or list element (see macro %[) |
| <condition> |
|
| <boolean expression> | <condition> (<boolean expression>) (<boolean expression>) & (<boolean expression>) (<boolean expression>) | (<boolean expression>) The priority of & and | operators is not defined and needs to be treated using brackets. The Boolean expression can be divided even to multiple lines; however, the end of line must be behind the & or |operators. To be evaluated only partially using a so-called short evaluation. |
The following topic is covered here: