<< Prev        Next >>

ID : 564

Operators

For operations of PacScript, the following operators are available.

If more than one operator are described in one line, operations are performed in the order of descending priorities described below.

Operation Operator Priority
Index (exponential) ^ operator 1
Sign + operator, - operator 2
Multiplication, division * operator, / operator 3
Integer division \ operator 4
Remainder Mod operator 5
Addition, subtraction + operator, - operator 6
String concatenation & operator 7
Shift operation >> operator, << operator 8
Relational operation <,=,> (comparative) operators 9
NOT Not operator 10
AND And operator 11
OR Or operator 12
Exclusive OR Xor operator 13

ID : 564

<< Prev        Next >>