There are two types of variables in Perun2: built-in variables and user-defined variables. Names of both of them are insensitive to case size.
[value variable] = [value] |
A new variable can be defined by user as shown above. There is a restriction - its name must be a single letter. The scope of a new variable is limited by the level of curly brackets. Every variable is associated with a certain data type and this type stays constant throughout its life. For example, a variable initialized with an integer value will always store numbers. New variables of the definition type cannot be created, as definitions are always evaluated when called.
Perun2 contains of lot of built-in variables. We can make use of: