Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name |
Quadrat() |
| Examples |
 kei_Liniefarb();
Komazahl a = Quadrat(1); // Sets a to 1
Komazahl b = Quadrat(-5); // Sets b to 25
Komazahl c = Quadrat(9); // Sets c to 81
Viereck(0, 25, a, 10);
Viereck(0, 45, b, 10);
Viereck(0, 65, c, 10); |
| Description |
Squares a number (multiplies a number by itself). The result is always a positive number, as multiplying two negative numbers always yields a positive result. For example, -1 * -1 = 1. |
| Syntax |
Quadrat(value) |
| Parameters |
| value |
Ganzizahl or Komazahl |
|
| Usage |
Web & Application |
| Related |
Wurzle()
|
Stefan Baltensperger 2009