var
Defines a new variable or overwrites an existing one.
.var {myvar} {0}
Content copied to clipboard
Variables can be referenced just like functions:
The variable has value .myvar
Content copied to clipboard
Variables can be reassigned in two ways:
By calling the variable as a function with one argument, which is the new value to assign:
.myvar {42}
Content copied to clipboard
By calling this var function again:
.var {myvar} {42}
Content copied to clipboard
Parameters
name
name of the variable
value
value to assign