variable_global_array_get(name,ind)

From ENIGMA

Jump to: navigation, search

Description

Gets the value of the global 1-dimensional array with the given name.

Parameters

Parameter Data Type Description
name string global variable name of the array
ind integer index of the array

Return Values

variant: Returns the variable retrieved from the array.

Example Call

// demonstrates obtaining a value from a global array by looking up the array by its string name
var val;
val = variable_global_array_get("myarray", 0);
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox