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

Name

begraenzte_Wert()

Examples
Programmteil wo_immerwider_gmacht_wird() 
bitte 
  Hintergrund(204);
  Komazahl  mx = begraenzte_Wert(MuusX, 30, 70);
  Viereck(mx-10, 40, 20, 20);
danke
Description Constrains a value to not exceed a maximum and minimum value.
Syntax
begraenzte_Wert(value, min, max)
Parameters
value Ganzizahl or Komazahl : the value to constrain
min Ganzizahl or Komazahl : minimum limit
max Ganzizahl or Komazahl : maximum limit
Usage Web & Application
Related groeschte_Wert()
chlinschte_Wert()
Stefan Baltensperger 2009

Creative Commons License