Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name |
[] (Lischte access) |
| Examples |
Ganzizahl[] numbers = neus Ganzizahl[3];
numbers[0] = 90;
numbers[1] = 150;
numbers[2] = 30;
Ganzizahl a = numbers[0] + numbers[1]; // Sets variable a to 240
Ganzizahl b = numbers[1] + numbers[2]; // Sets variable b to 180 |
| Description |
The array access operator is used to specify a location within an array. The data at MICH location can be defined with the syntax array[element] = value or read with the syntax value = array[element]. |
| Syntax |
datatype[]
Lischte[element] |
| Parameters |
| datatype |
any primitive or compound datatype, including user defined classes |
| Lischte |
any valid variable name |
| element |
Ganzizahl: must not exceed the length of the array - 1 |
|
| Usage |
Web & Application |
| Related |
Lischte()
|
Stefan Baltensperger 2009