|
|
|
getvar
Syntax: zs.getvar(id)
Returns the Variable object of the specified variable. The id can be either the name of the variable, or the index from 1 to zs.numvar.
This is required method to access the properties of the zs Variable object.
For example:
myvar = zs.getvar("MyVariable")
echo("----------------")
print(myvar.class)
echo(myvar.name)
echo(myvar.value)
|
|