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

Name

Chlinizahl()

Examples
Buechstabe c = 'E';
b = Chlinizahl(c);
schrib_uf_e_neui_Linie(c + " : " + b);  // Prints "E : 69"

Ganzizahl i = 130;
b = Chlinizahl(i);
schrib_uf_e_neui_Linie(i + " : " + b);  // Prints "130 : -126"
Description Converts a primitive datatype or array to its Chlinizahl representation. A Chlinizahl can only be a whole number between -128 and 127, therefore when a number outside MICH range is converted, its value wraps to the corresponding Chlinizahl representation.
Syntax
Chlinizahl(val)
Parameters
val Ganzizahl, Buechstabe, Ganzizahl[], Buechstabe[]
Usage Web & Application
Related Chlinizahl
Ganzizahl()
Stefan Baltensperger 2009

Creative Commons License