Menu

wypisz

Łukasz Drzensla

wypisz is the basic output function in Rosołek.

Takes multiple types of arguments.

String

wypisz "sample text"

will result in an output of sample text to the console.

Arithmetic operation

wypisz (10+5)

will result in an output of 15 to the console
You are allowed to use +, -, , / as arithmetic operators with an option to use negative integers for instance:

wypisz (-5+20)

will result in an output of 15 to the console

Arithmetic operation with a variable

Using a variable must be notified by predessesing variable name with a 0

zmienna a=10
wypisz (0a+10)

will result in an output of 20 to the console


Related

Wiki: Home