Cold Help System: Programming: ColdC Reference Manual: Language Structure: Expressions: Operators: Assignments

Data is stored in a variable through an assignment. Assignments can either be Simple, Scattered, Dual Role or Default. Simple Assignments store the result of an expression to a single variable. A Scatter Assignment stores each element in the result of a list expression across multiple variables. Dual Role Assignments join another operator and the simple assignment operator into one for the purpose of simplicity and optimizing, such as += which is both the the addition operator and the assignment operator. Default assignments only assign the value if the current value of the variable is false. More information can be found in each section:

Operator Precedence | Index Operators | Arithmetic Operators | Assignments | Logical Operators | Conditional | List Splice Operator

the Cold Dark