Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ppl-expression-operators [2019-04-12 14:28] – stimpyppl-expression-operators [2026-08-21 19:09] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Expression Operators ====== 
  
-PPL allows the following operators to be used in expressions (lvalue and rvalue are simply the values to the left and right, respectively, of binary operators): 
- 
-      (  - Start sub-expression (also allows [ to be used) 
-      )  - End sub-expression (also allows ] to be used) 
-      ^  - Raise lvalue to the power of rvalue (also allows ** to be used) 
-      *  - Multiply lvalue by rvalue 
-      /  - Divide lvalue by rvalue 
-      %  - Remainder of lvalue divided by rvalue 
-      +  - Add rvalue to lvalue 
-      -  - Subtract rvalue from lvalue 
-      =  - Is lvalue equal to rvalue (also allows ==) 
-      <> - Is lvalue not equal to rvalue (also allows != and ><) 
-      <  - Is lvalue less than rvalue 
-      <= - Is lvalue less than or equal to rvalue (also allows =<) 
-      >  - Is lvalue greater than rvalue 
-      >= - Is lvalue greater than or equal to rvalue (also allows =>) 
-      !  - Logical not of rvalue 
-      &  - Logical and of lvalue with rvalue (also allows &&) 
-      |  - Logical or of lvalue with rvalue (also allows ||) 
-       
- 
----- 
-**Tags:** {{tag>ppl operator}}