|
| Previous: 6.1.2 Statements | TOC | Index | Back | Next: 6.1.4 Meta Commands |
| Operator | Prec | Assoc | Description |
|---|---|---|---|
| (expr) | 9 | -/- | Give sub-expression exprthe highest precedence |
| pname(a1, ..., aN) | 9 | L | The value of applying procedure pname to the
arguments a1 through aN |
| iname.mname(a1,...,aN) | 9 | L | The value of sending message mname with the
arguments a1 through aN to the instance (object) iname |
| CALL p(a1,...,aN) | 9 | L | The value of an indirect procedure call through p |
| SEND(p, cname, mname(a1,...,aN)) |
9 | L | The value of sending an indirect message to the object pointed to by p |
| [(x1, ..., xN)] | 9 | -/- | The address of a table containing the values of the expressions x1 through xN |
| vname[expr] | 9 | L | The expr'th element of the vector vname. [expr] may be repeated |
| vname::factor | 9 | R | The factor'th byte of the vector vname. ::factor may be repeated |
| @lvalue | 8 | R | The address of lvalue |
| ~X | 8 | R | The bitwise complement of X |
| \X | 8 | R | The logical complement of X |
| -X | 8 | R | The negative value of X |
| X * Y | 7 | L | The product of X and Y |
| X / Y | 7 | L | The integer part of the quotient of X and Y |
| X MOD Y | 7 | L | The division remainder of .X and .Y |
| X .* Y | 7 | L | The product of .X and .Y |
| X ./ Y | 7 | L | The integer part of the quotient of .X and .Y |
| X + Y | 6 | L | The sum of X and Y |
| X - Y | 6 | L | The difference between X and Y |
| X & Y | 5 | L | The bitwise logical product X AND Y |
| X | Y | 5 | L | The bitwise logical sum X OR Y |
| X ^ Y | 5 | L | The bitwise logical negative equivalence X XOR Y |
| X << Y | 5 | L | X shifted to the left by Y bits |
| X >> Y | 5 | L | X shifted to the right by Y bits |
| X < Y | 4 | L | True, if X is less than Y |
| X <= Y | 4 | L | True, if X is less than or equal to Y |
| X > Y | 4 | L | True, if X is greater than Y |
| X >= Y | 4 | L | True, if X is greater than or equal to Y |
| X .< Y | 4 | L | True, if .X is less than .Y |
| X .<= Y | 4 | L | True, if .X is less than or equal to .Y |
| X .> Y | 4 | L | True, if .X is greater than .Y |
| X .>= Y | 4 | L | True, if .X is greater than or equal to .Y |
| X = Y | 3 | L | True, if X is equal to Y |
| X \= Y | 3 | L | True, if X is not equal to Y |
| X /\ Y | 2 | L | Short circuit logical AND: 0 if X=0; Y, if X\=0 |
| X \/ Y | 1 | L | Short circuit logical OR: X if X\=0; Y, if X=0 |
| X -> Y : Z | 0 | L | Conditional expression: Y, if X\=0; Z, if X=0 |
| Previous: 6.1.2 Statements | TOC | Index | Back | Next: 6.1.4 Meta Commands |