Variables - IUrixl/Kova GitHub Wiki
Direct transpilation of set
var <name> <value>
Argument | Definition |
---|---|
Name | Name of the variable |
Value | Value of the variable |
define main -> {
var str "Hello world"
print "%str%
}
Direct transpilation of set/a
var# <name> <eval>=
NOTE: <x>
or %escST% must be used in order to be replaced with a * as batch uses * as a delim for some reason.
Argument | Definition |
---|---|
Name | Name of the variable |
Eval | Math expression |
define main -> {
var# math 10 + 10%escST%5
// 10 plus 10 multiplied by 5
print "%math%"
}