Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name | + (addition) |
||||
|---|---|---|---|---|---|
| Examples | Ganzizahl a = 50 + 5; // Sets a to 55 Ganzizahl b = a + 5; // Sets b to 60 Satz s1 = "Chernenko"; Satz s2 = "Brezhnev"; Satz sc1 = s1 + s2; Satz sc2 = s1 + ", Andropov, " + s2; schrib_uf_e_neui_Linie(sc1); // Prints ChernenkoBrezhnev schrib_uf_e_neui_Linie(sc2); // Prints Chernenko, Andropov, Brezhnev Satz s1 = "Gorbachev"; Ganzizahl i = 1987; Satz sc1 = s1 + i; schrib_uf_e_neui_Linie(sc1); // Prints Gorbachev1987 |
||||
| Description | Adds two values or concatenates string values. As a mathematical operator, it calculates the sum of two values. As a string operator, it combines two strings into one and converts from primitive datatypes into the Satz datatype if necessary. | ||||
| Syntax | value1 + value2 |
||||
| Parameters |
|
||||
| Usage | Web & Application | ||||
| Related | immereisdezue (increment) += (add assign) - (minus) |

