EasyManua.ls Logo

Maple Systems Silver Series - Operator; Or der of Pre Ce Dence; Main Functions and Sub-Functions

Maple Systems Silver Series
272 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Operator
Below is a list of the recognized operators.
Group Name Sym
Assignment: =
Assignment operator: Addition:
+
Subtraction: -
Multiplication: *
Division: /
Modulo: %
Comparison operators: Less than: <
Less than or equal to: <=
Greater than: >
Greater than or equal to: >=
Is equal to: ==
Not equal to: <>
Logic operators: Conditional 'AND': AND
Conditional 'OR': OR
Exclusive 'OR': XOR
Boolean 'NOT': NOT
Bitwise and shift operators: Left shift: <<
Right shift: >>
Bitwise 'AND' &
Bitwise 'OR' |
Bitwise 'XOR' ^
Bitwise complement: ~
Or der of Pre ce dence
The process order of many operators within an expression is called the ‘order of precedence’. Priority of the same
kind of operator (From left to right, from top to bottom)
Arithmetic operator: ^ ( * , / ) ( % ) ( + , - )
Bitwise & Shift operators: From left to right within the expression
Comparison operator: From left to right within the expression
Logic operator: Not And Or Xor,
Arithmetic operator is higher priority than a Bitwise operator
Bitwise operator is higher priority than a Comparison operator
Logic operator is higher priority than an Assignment operator
Main Functions and Sub-functions
The macro must have one and only one “Macro_Command main() function which is the execution start point of
any macro file. Any sub-functions must be pre-defined and written before the main() function.
The format is:
1010-1001a, Rev 02
250 Sil ver Se ries In stal la tion & Op er a tion Man ual

Table of Contents