Overview
Get one element of your array.
(number) Address of your array (returned number from Memory.CreateArray).
(number) Index of element that you want filled with value.
(number) Set Type of your array that you created (this arg is optional).
(variant) Return value that stored in that position of array(if you create a int64 array this func returns string instead of number).
When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.
array = Memory.CreateArray(ARRAY_INT, 2) Memory.SetArrayData(array, 0, 50) Memory.SetArrayData(array, 1, 23) Memory.SetArrayData(array, 2, 51) Dialog.Message("Must Be 23", Memory.GetArrayData(array, 1)) Memory.FreeStructure(array)
See also: Related Actions