Difference between revisions of "The Assignment Operator"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Operators]]

+
{{HelpFiles}}
  
 
===The Assignment Operator===
 
===The Assignment Operator===

Latest revision as of 08:06, 14 December 2011



The Assignment Operator

The assignment operator is the single equal sign, =. The assignment operator works in CGS much as in any other computer languages. It has this general form:

var = expression;

Here, var must have exactly the same type as expression.