Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger

Name

Pause()

Examples
Ganzizahl pos = 0;
Programmteil wo_immerwider_gmacht_wird() bitte
  Hintergrund(204);
  posimmereisdezue;
  Linie(pos, 20, pos, 80);
  waen(pos > Feischterbreiti) bitte
    pos = 0;
  danke
  Pause(250);  // Stops the program for 250 milliseconds
danke
Description Forces the program to stop running for a specified time. Delay times are specified in thousandths of a second. The function call Pause(3000) will stop the program for three seconds.

Because the Bildschirm is updated only at the end of wo_immerwider_gmacht_wird(), the program may appear to "freeze" until the Pause() has elapsed.

This function causes the program to stop as soon as it is called, except if the program is running the wo_immerwider_gmacht_wird() for the first time, it will complete the loop before stopping.
Syntax
Pause(milliseconds)
Parameters
milliseconds Ganzizahl: specified as milliseconds (there are 1000 milliseconds in 1 second)
Usage Web & Application
Stefan Baltensperger 2009

Creative Commons License