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

Name

binaerewaert()

Examples
Farb c = Farb(255, 204, 0);
schrib_uf_e_neui_Linie(c);             // Prints -13312
schrib_uf_e_neui_Linie(binaerewaert(c));     // Prints 11111111111111111100110000000000
schrib_uf_e_neui_Linie(binaerewaert(c, 16)); // Prints 1100110000000000
Description Converts a Chlnizahl, cBuechstabe, Ganzizahl, or Farb to a Satz containing the equivalent binary notation. For example Farb(0, 102, 153, 255) will convert to the Satz "11111111000000000110011010011001". This function can help make your geeky debugging sessions much happier.
Syntax
binaerewaert(value)
binaerewaert(value, digits)
Parameters
value Chlinizahl, Buechstabe, Ganzizahl, Farb: value to convert
digits Ganzizahl: number of digits to return
Usage Web & Application
Related unhexWaert()
hexWaert()
noed_binaer()
Stefan Baltensperger 2009

Creative Commons License