Expressions

Expressions are arithmetic or logic constructs, Semantik/Syntax that can be evaluated in a context. Individual arithmetia or logic expressions or combinations thereof and expressions containing a string and their functionality are part of a „Expression“.

The length is not limited. The compiler will optimize complex expressions. Splitting into separate operations will usually not speed up processing.

true Represents the value „true“, arithmetically = <>0 (non-zero). Posted in conditions and boolean expressions.
false Represents the value „false“, arithmetically = 0 (zero). Used in conditions and boolean expressions.
nil Used to determine if an object is nil (no value).
  • Arithmetic Expressions
    • 5 * 7
    • (13 * ( x - a ) / b) << 5
    • x * 9 = 2 * y
    • z = c > 100
    • y = Function( x, 23, 42)
    • etc.
  • Logic Expressions
    • a and b
    • b or a
    • (a or not b) and c
    • etc.
  • String Expressions
    • „Hallo“+str(22)
    • m.StringValue(2,3)+„:“
    • right(„00“+hour,2)+„:“+right(„00“+minute,2)+„:“+right(„00“+second,2)
    • etc.