PRPC supports 20 operators in expressions. Most correspond directly to Java operators and Java language processing:
Operator | Meaning |
+ | Addition, string concatenation, unary plus |
- | Subtraction, also unary minus |
* | Multiplication |
/ | Division |
% | Remainder |
== | Identity |
!= | Not identity |
! | Boolean NOT (complement) |
< | less than comparison |
<= | less than or equal comparison |
> | greater than comparison |
>= | greater than or equal comparison |
= | equal value comparison, also assignment |
&& | conditional AND |
|| | conditional OR |
+=, -=, /=, %=, *= | assignment with operation |
?: | Boolean test. Deprecated in favor of @if() function. |