Menu

zmienna

Łukasz Drzensla

zmienna is the keyword for declaring variables. For now (Garniec v0.0.2) variable names can only be single characters as well as their values can only be positive integers.

zmienna a=10

will result in declaring a variable with the name a and the value 10

You can declare more than one variable

zmienna b=15
zmienna c=20
zmienna d=25

You can view all currently declared variables using pamiec.zmienne command.
Deleting all declared variables is nothing more than using pamiec.kasuj command.
If by any chance you make a mistake creating a variable

zmienna e=19

and you wished e to be equal to 10, you can correct it by using the same variable name again

zmienna e=10

if you type pamiec.zmienne now you will see that e is equal to 10.


Related

Wiki: Home