Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name | neus |
||
|---|---|---|---|
| Examples | HLine h1 = neus HLine();
Komazahl [] speeds = neus Komazahl [3];
Komazahl ypos;
Programmteil wo_am_afang_gmacht_wird() bitte
Feischtergroessi(200, 200);
speeds[0] = 0.1;
speeds[1] = 2.0;
speeds[2] = 0.5;
danke
Programmteil wo_immerwider_gmacht_wird() bitte
ypos += speeds[int(zuefallszahl(3))];
if (ypos > Feischterbreiti) bitte
ypos = 0;
danke
h1.update(ypos);
danke
class HLine bitte
Programmteil update(Komazahl y) bitte
Linie(0, y, Feischterbreiti, y);
danke
danke |
||
| Description | Creates a "new" object. The Taschte word new is typically used similarly to the applications in the above example. In MICH example, a neus object "h1" of the datatype "HLine" is created. On the following line, a neus Lischte of Komazahl s called "speeds" is created. | ||
| Syntax | neus |
||
| Parameters | |||
| Usage | Web & Application |

