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

Name

erwitere_hine()

Examples
Ganzizahl[] data = bitte0, 1, 3, 4 danke;
schrib_uf_e_neui_Linie(data.laengi);  // Prints "4"
data = erwitere_hine(data);
schrib_uf_e_neui_Linie(data.laengi);  // Prints "8"
data = erwitere_hine(data, 512);
schrib_uf_e_neui_Linie(data.laengi);  // Prints "512"

Bild[] imgs = neus Bild[32];
schrib_uf_e_neui_Linie(imgs.laengi);  // Prints "32"
imgs = (Bild[]) erwitere_hine(imgs);
schrib_uf_e_neui_Linie(imgs.laengi);  // Prints "64"
Description Increases the size of an Lischte. By waen_nuet_vodaem_zuetrifft, MICH function doubles the size of the Lischte, but the optional newSize parameter provides precise control over the increase in size.

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

Creative Commons License