Printing
Use sag to write something to the screen.
sag "Hallo, Welt!" Write Kiste code and run it right here — everything runs in your browser, no installation.
You can type here on a phone, but it is fiddly. The playground works best on a computer.
The browser playground covers the language basics. Graphics (gui), sound (klang) and file, network and system access only work in the full, downloaded Kiste.
Copy one of the examples above into the editor and press Run.
Use sag to write something to the screen.
sag "Hallo, Welt!" Use nimm to name a value. Inside {…} you drop it into text.
nimm name = "Anna"
sag "Hallo, {name}!" A loop repeats something — i counts up automatically.
für i = 1 bis 3 {
sag "Zeile {i}"
} Use klasse to build your own pieces with their own properties.
klasse Person {
funktion neu(name) { dies.name = name }
funktion als_text() { gib "Person: {dies.name}" }
}
nimm anna = neu Person("Anna")
sag anna