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

Name

kein_Luup()

Examples
Programmteil wo_am_afang_gmacht_wird() bitte
  Feischtergroessi(200, 200);
  kein_Luup();
danke

Programmteil wo_immerwider_gmacht_wird() bitte
  Linie(10, 10, 190, 190);
danke

Programmteil wo_am_afang_gmacht_wird() bitte
  Feischtergroessi(200, 200);
danke

Komazahl  x = 0.0;

Programmteil wo_immerwider_gmacht_wird() bitte
  Hintergrund(204);
  x = x + 0.1;
  if (x > Feischterbreiti) bitte
    x = 0;
  danke
  Linie(x, 0, x, Feischterhoechi); 
danke

Programmteil Muus_truckt() bitte
  kein_Luup();
danke

Programmteil Muus_losgla() bitte
  Luup();
danke
Description Stops Processing from continuously executing the code within wo_immerwider_gmacht_wird(). If Luup() is called, the code in wo_immerwider_gmacht_wird() begin to run continuously again. If using kein_Luup() in wo_am_afang_gmacht_wird(), it should be the last line inside the block.

When kein_Luup() is used, it's not possible to draw to the Bildschirm inside event handling functions such as Muus_truckt() or Taschte_truckt(). Instead, use those functions to call zeichne_neu() or Luup(), which will run wo_immerwider_gmacht_wird(), which can update the Bildschirm properly.

Note that if the sketch is resized, zeichne_neu() will be called to update the sketch, even after kein_Luup() has been specified. Otherwise, the sketch would enter an odd state until Luup() was called.
Syntax
kein_Luup()
Parameters
Usage Web & Application
Related Luup()
zeichne_neu()
wo_immerwider_gmacht_wird()
Stefan Baltensperger 2009

Creative Commons License