| List of expression elements / Associative syntax operators | |
Parentheses ( () ) force the evaluation of an expression before other operators.
( expr [...] )
Parentheses can be used to change the order in which expression elements are evaluated, to bypass the precedence of operators.
Parentheses can also be used to ease the readability of the code in a complex expression.
MAIN
DEFINE n INTEGER
LET n = ( ( 3 + 2 ) * 2 )
IF n=10 AND ( n<=0 OR n>=20 ) THEN
DISPLAY "OK"
END IF
END MAIN