|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| var.get(VariableIndex, ItemIndex) |
Parameters
| INT | VariableIndex | Index of the variable.
| | INT | ItemIndex | Optional. Index of the item to retrieve. |
Return value
| Value of the specified variable. |
Description
Returns the value of a variable.
Instead of the name of the variable, this function requires the index of the variable.
You can browse the variables by index using var.count or var.getIndex. |
MioScript Sample Code
&myVar = "Hello, World"
&value = var.get(var.getIndex(myVar))
alert(&value) |
|
|
|