Parentheses: ()

Parentheses ( () ) force the evaluation of an expression before other operators.

Syntax

( expr [...] )
  1. expr is a language expression.

Usage

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.

Example

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