
5.1.4 Punctuators
Punctuators in MAXL have syntactic and semantic meaning to the compiler but do
not, of themselves, specify an operation that yields a value.
Syntax
! % ^ & * ( ) - + = /
| [ ] ; : " < > , #
The punctuators [ ] and ( ) must appear in pairs.
5.1.5 Operators
Operators specify an evaluation to be performed on one of the following:
• One operand (unary operator)
• Two operands (binary operator)
Table
5-1 lists the operators available in MAXL.
Operators follow a strict precedence, which defines the order of expressions
containing these operators. Operators associate with either the expression on their left,
or the expression on their right; this is called “associativity.” Operators in the same
group have equal precedence and are evaluated left to right in an expression unless
explicitly forced by a pair of parentheses, (). Table
5-1 shows the precedence and
associativity of MAXL operators (from highest to lowest precedence).
Maestro
Software Manual MAXL Program Language
MAN-MASSW (Ver. Q)
5-3
Komentarze do niniejszej Instrukcji