Variables - IUrixl/Kova GitHub Wiki

Var

Direct transpilation of set

Basic syntaxis

var <name> <value>

Arguments

Argument Definition
Name Name of the variable
Value Value of the variable

Example of use

define main -> {
	var str "Hello world"
	print "%str%
}

Var# (maths)

Direct transpilation of set/a

Basic syntaxis

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.

Arguments

Argument Definition
Name Name of the variable
Eval Math expression

Example of use

define main -> {
	var# math 10 + 10%escST%5
	// 10 plus 10 multiplied by 5

	print "%math%"
}
⚠️ **GitHub.com Fallback** ⚠️