Operator; Or Der Of Pre Ce Dence; Main Functions And Sub-Functions - Maple Systems Silver Series Installation And Operation Manual

Operator interface terminal
Hide thumbs Also See for Silver Series:
Table of Contents

Advertisement

250

Operator

Below is a list of the recognized operators.
Group
Assignment operator:
Comparison operators:
Logic operators:
Bitwise and shift operators:

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
Sil ver Se ries In stal la tion & Op er a tion Man ual
Name
Assignment:
Addition:
Subtraction:
Multiplication:
Division:
Modulo:
Less than:
Less than or equal to:
Greater than:
Greater than or equal to:
Is equal to:
Not equal to:
Conditional 'AND':
Conditional 'OR':
Exclusive 'OR':
Boolean 'NOT':
Left shift:
Right shift:
Bitwise 'AND'
Bitwise 'OR'
Bitwise 'XOR'
Bitwise complement:
Sym
=
+
-
*
/
%
<
<=
>
>=
==
<>
AND
OR
XOR
NOT
<<
>>
&
|
^
~

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents