SDU
Personal tools

Operators

From SDU

Jump to: navigation, search
To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.

Arithmetic Operators

+  Addition
-   Subtraction
*  Multiplication
/   Division
% Modulo, for example a % b will result in the remainder of a divided by b

Comparison (Relational) Operators

== Equal to
!=  Not Equal to
<= Less than or equal to
<  Less than
>= Greater than
>  Greater than

Concatenation Operators

+

Logical Operators

||
&&
!

Assignment Operators

=   simple assignment
+= Compound addition, like in C
-=  Compound subtraction
*= Compound multiplication
/= Compound division
%= Compound modulo
This page was last modified 16:27, 3 March 2009.  This page has been accessed 1,150 times.  Content is available under Attribution-Noncommercial-Share Alike 3.0 UnportedDisclaimers