Difference between revisions of "Operators"

From SDU
Jump to: navigation, search
m (Reverted edits by Agegeleruvy (Talk); changed back to last version by Michal.kopl)
 
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 13: Line 5:
  
 
== Arithmetic Operators ==
 
== Arithmetic Operators ==
&lt;source lang=&quot;javascript&quot;&gt;
+
<source lang="javascript">
 
+  Addition
 
+  Addition
 
-  Subtraction
 
-  Subtraction
Line 19: Line 11:
 
/  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
&lt;/source&gt;
+
</source>
  
 
== Comparison (Relational) Operators ==
 
== Comparison (Relational) Operators ==
&lt;source lang=&quot;javascript&quot;&gt;
+
<source lang="javascript">
 
== Equal to
 
== Equal to
 
!=  Not Equal to
 
!=  Not Equal to
&lt;= Less than or equal to
+
<= Less than or equal to
&lt; Less than
+
< Less than
&gt;= Greater than or equal to
+
>= Greater than or equal to
&gt; Greater than
+
> Greater than
&lt;/source&gt;
+
</source>
  
 
== Concatenation Operators ==
 
== Concatenation Operators ==
&lt;source lang=&quot;javascript&quot;&gt;
+
<source lang="javascript">
 
+
 
+
&lt;/source&gt;
+
</source>
  
 
== Logical Operators ==
 
== Logical Operators ==
&lt;source lang=&quot;javascript&quot;&gt;
+
<source lang="javascript">
 
||
 
||
&amp;&amp;
+
&&
 
!
 
!
&lt;/source&gt;
+
</source>
  
 
== Assignment Operators ==
 
== Assignment Operators ==
&lt;source lang=&quot;javascript&quot;&gt;
+
<source lang="javascript">
 
=  simple assignment
 
=  simple assignment
 
+= Compound addition, like in C
 
+= Compound addition, like in C
Line 51: Line 43:
 
/= Compound division
 
/= Compound division
 
%= Compound modulo
 
%= Compound modulo
&lt;/source&gt;
+
</source>

Latest revision as of 05:22, 30 November 2010

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>