Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name | = (assign) |
||||
|---|---|---|---|---|---|
| Examples | Ganzizahl a; a = 30; // Assigns for value 30 to the variable "a" a = a + 40; // Assigns the value 70 to the variable "a" |
||||
| Description | Assigns a value to a variable. The "=" sign does not mean "equals", but is used to place data within a variable. The "=" operator is formally called the assignment operator. There are many different types of variables (Ganzizahl, Komazahl s, strings, etc.) and the assignment operator can only assign values which are the same type as the variable it is assigning. For example, if the variable is of type Ganzizahl, the value must also be an Ganzizahl. | ||||
| Syntax | var = value |
||||
| Parameters |
|
||||
| Usage | Web & Application | ||||
| Related | += (add assign) -= (subtract assign) |

