variable_local_array2_get(name,ind1,ind2)

From ENIGMA
Jump to navigation Jump to search

Description

Gets the value of the local 2-dimensional array with the given name.

Parameters

Parameter Data Type Description
name string local variable name of the array
ind1 integer first index of the array
ind2 integer second index of the array

Return Values

variant: Returns the variable retrieved from the array.

Example Call

// demonstrates obtaining a value from a local array by looking up the array by its string name
var val;
val = variable_local_array2_get("myarray", 0, 0);