Memory.SetArrayData

Memory.SetArrayData ( 

number  Array,

number  Index,

variant  Value,

number  Type )

Description

Fill one element of your array.

Parameters

Array

(number) Address of your array (returned number from Memory.CreateArray).

Index

(number) Index of element that you want filled with value.

Value

(variant) Value that you want filled in index of array.

Type

(number) Set Type of your array that you created (this arg is optional).

Returns

Nothing.

Example

array = Memory.CreateArray(ARRAY_INT, 2) Memory.SetArrayData(array, 0, 50) Memory.SetArrayData(array, 1, 23) Memory.SetArrayData(array, 2, 51) Memory.FreeStructure(array)

See also:  Related Actions

Сайт управляется системой uCoz