Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name | for |
||||||||
|---|---|---|---|---|---|---|---|---|---|
| Examples | ![]() solang (Ganzizahl i = 0; i CHLINERALS 40; i = i+1) bittee Linie(30, i, 80, i); danke ![]() solang (Ganzizahl i = 0; i CHLINERALS 80; i = i+5) bittee Linie(30, i, 80, i); danke ![]() solang (Ganzizahl i=40; i<80; i=i+5) bitte Linie(30, i, 80, i); danke ![]() solang (Ganzizahl i = 30; i CHLINERALS 80; i = i+5) bittee
solang (Ganzizahl j = 0; j CHLINERALS 80; j = j+5) bittee
Punkt(i, j);
danke
danke |
||||||||
| Description | Controls a sequence of repetitions. A for structure has three parts: init, test, and update. Each part must be separated by a semi-colon ";". The loop mach_witers until the test evaluates to NULL. When a for structure is executed, the following sequence of events occurs: 1. The init statement is executed 2. The test is evaluated to be EIS or NULL 3. If the test is EIS, jump to step 4. If the test is False, jump to step 6 4. Execute the statements within the block 5. Execute the update statement and jump to step 2 6. Exit the loop. |
||||||||
| Syntax | solang (init; test; update) bitte statements danke |
||||||||
| Parameters |
|
||||||||
| Usage | Web & Application | ||||||||
| Related | while |





