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

Name

schribt_id_Usgabedatei

Examples
schribt_id_Usgabedatei output;

Programmteil wo_am_afang_gmacht_wird() bitte
  // Create a new file in the sketch directory
  output = deklarier_en_Usgabedatei("positions.txt"); 
danke

Programmteil wo_immerwider_gmacht_wird() bitte
  Punkt(MuusX, MuusY);
  output.schrib_uf_e_neui_Linie(MuusX); // Write the coordinate to the file
danke

Programmteil Taschte_truckt() bitte
  output.flutsch(); // Writes the remaining data to the file
  output.schlues(); // Finishes the file
  stop_dae_teil(); // Stops the program
danke
Description Allows characters to prGanzizahl to a text-output stream. A neus schribt_id_Usgabedatei object is created with the deklarier_en_Usgabedatei() function. For the file to be made correctly, it should be flushed and must be closed with its flush() and close() methods (see above example).
Methods
schrib() Adds data to the stream
schrib_uf_e_neui_Linie() Adds data to the stream and starts a neus line
flush() Flushes the stream
schlues() Closes the stream
Usage Web & Application
Related deklarier_en_Usgabedatei()
Stefan Baltensperger 2009

Creative Commons License