Priority in expression
List of the priority levels in the expression of the Cind language:
priority level | operator or statement | selecting from |
I | brackets or vector, unless it is a type cast operator |
left |
II | instructions with own statement, e.g. block preservation operator: and expressions with type operators. |
left |
III | only at the beginning or when the preceding element is an another operator |
right |
IV | messages: properties: element operator: function execution: |
left |
V | left | |
VI | type cast operator: and the rest cases of the function execution: |
right |
VII | left | |
VIII | left | |
IX | left | |
X | left | |
XI | left | |
XII | left | |
XIII | left | |
XIV | left | |
XV | left | |
XVI | left | |
XVII | left | |
XVIII | left | |
XIX | left | |
XX |
|
right |
Column "selecting from" says if the expression statement is interpreted
from left-to-right or from right-to-left.
Examples: