Memory.CreateArray

number Memory.CreateArray ( 

number  Type,

number  Elements )

Description

Create an array with some elements.

Parameters

Type

(number) Type of your array that you want create.

Elements

(number) Size of your array that you want create (this plugin now just support one Dimension array).

Returns

(number) Address of your created Array.

Note: Arrays Starts From zero so when we create an array with 10 Elements this func create 11 Elements (from 0 to 10).

ResultVariable

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.

Example

array = Memory.CreateArray(ARRAY_INT, 10) Memory.FreeArray(array)

See also:  Related Actions

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