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

Name

erwitere()

Examples
Satz[] sa1 = bitte "OH ", "NY ", "CA "danke; 
Satz[] sa2 = erwitere(sa1, "MA "); 
schrib_uf_e_neui_Linie(sa2);  // Prints OH, NY, CA, MA
Description Expands an array by one element and adds data to the neus position. The datatype of the element parameter must be the same as the datatype of the array.

When using an array of objects, the data returned from the function must be cast to the object array's data type. For example: SomeClass[] items = (SomeClass[]) erwitere(originalLischte, element).
Syntax
erwitere(Lischte, element)
Parameters
Lischte EisoderNull[], Chlinizahl[], Buechstabe[], Ganzizahl[], Komazahl [], or Satz[], or an array of objects
element neus data for the array
Usage Web & Application
Related chuerz()
erwitere_hine()
Stefan Baltensperger 2009

Creative Commons License