User Tools

Site Tools


xrpl:rpl_language_overview

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
xrpl:rpl_language_overview [2019/07/26 15:52] – add Symbol Aliasing Karsten75xrpl:rpl_language_overview [2019/08/27 06:27] – Note Symbol ALiasing relevant to 4RPL only Karsten75
Line 117: Line 117:
 ==== Symbol Aliasing ==== ==== Symbol Aliasing ====
  
-Many arithmetic operators  can be substituted with shorthand symbols. +Many arithmetic operators  can be substituted with shorthand symbols **(4RPL only)**
  
-^ Operator       ^ Symbol          +^ Operator ^ Symbol ^ 
-| ADD | "+|  +| ADD | + |  
-| SUB | "-|  +| SUB | - |  
-| MUL | "*|  +| MUL | * |  
-| DIV | "/|  +| DIV | / |  
-| MOD | "%|  +| MOD | % |  
-| AND | "&&"|  +| AND | && |  
-| OR  | "%%||%%"|  +| OR  | %%||%% |  
-| NOT | "!|  +| NOT | ! |  
-| POW | "^|  +| POW | %%^%% |  
-| GT  | ">|  +| GT  | > |  
-| GTE | ">="|  +| GTE | >=|  
-| LT  | "<|  +| LT  | < |  
-| LTE | "<=|   +| LTE | <= |   
-| EQ  | "==|  +| EQ  | == |  
-| NEQ | "!=" | |+| NEQ | != | 
    
 ==== Code translator ==== ==== Code translator ====