Summary Precedence Table

The table below shows all the Operators that PTPScript supports, according to their precedence (importance). The Operators with highest precedence (most important) are at the top.

Operators Description
Constants, Numbers, Strings, and Variables Individual terms
. .. Glued terms
[ ] ( ) Grouped terms
++ -- Auto-increment
** Exponentiation
+ - ? ! ~ @ +^ ~^ ?^ ??? Symbolic unary
* / % ~* @* +& ~& ?& +< ~< +> ~> Multiplication and division
+ - ~ @ +| ~| ?| +^ ~^ ?^ Addition and subtraction
destroy typeof abs cos log ln sin tan Named unary
... Range
< <= > >= lt le gt ge in Relational comparison
== != <> === !== eq ne is Equality comparison
&& || ^^ |?| Tight logical comparison
=
**= *= /= %= ~*= @*= +&= ~&= ?&= +<= ~<= +>= ~>=
+= -= ~= @= +|= ~|= ?|= +^= ~^= ?^=
...=
&&= ||= ^^= |?|=
Assignment
not and or xor err Loose logical
, : Group separators
// Comments

ptpscript/operators/precedence_tables/summary.txt · Last modified: 2007/01/24 10:15
 
 
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki