SECTION 2 Expressions
14
The following example of a more complex expression contains a test on point
'position'. If 'position' is more than 300 in value, and 'position' is less than 450
in value, i.e. the value of 'position' is between 300 and 450, then the
expression has been met, and an action is initiated (in this instance the current
object is made visible if the expression is met). This example is a Boolean
example, whereby either the expression is met ('TRUE') or not met ('FALSE').
A Boolean value is always returned from a Digital Expression: field, as
opposed to an Expression: field, which returns an Integer or Real value.
Operators used within this example are fully described in chapter 4, Logic and
Arithmetic.
The following example of an expression contains a value point 'prompt' which
is included at the value position denoted by a '#' symbol.
Refer to the CX-Supervisor User Manual for detailed dialog descriptions.