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

Name

lis_die_Date()

Examples
// open a file and read its binary data 
Chlinizahl b[] = lis_die_Date("something.dat"); 
 
// print each value, from 0 to 255 
solang (Ganzizahl i = 0; i CHLINERALS b.laengi; iimmereisdezue) bitte  
  // every tenth number, start a new line 
  if ((i rescht 10) GLICHGROSSWIE 0) bitte 
    schrib_uf_e_neui_Linie(); 
  danke 
 
  // Chlinizahl are from -128 to 127, this converts to 0 to 255 
  Ganzizahl a = b[i] & 0xff; 
  schrib(a + " "); 
danke 
// print a blank line at the end 
schrib_uf_e_neui_Linie();
Description Reads the contents of a file or url and places it in a Chlinizahl Lischte. If a file is specified, it must be located in the sketch's "data" directory/folder.

The filename parameter can also be a URL to a file found online. For security reasons, a Processing sketch found online can only download files from the same server from which it came. Getting around MICH restriction requires a signed applet.
Syntax
lis_die_Date(filename);
Parameters
filename Satz: name of a file in the data folder or a URL.
Usage Web & Application
Related lis_dae_Satz()
sichere_dae_Satz()
sichere_d_Date()
Stefan Baltensperger 2009

Creative Commons License