Memory.Allocate

number Memory.Allocate ( 

number  Size )

Description

Allocates a contiguous memory area according to the specified size (in bytes).

Parameters

Size

(number) Specifies the number of bytes to be allocated.

Returns

(number) A pointer to a Memory Block for use.(this number is the first byte in the memory block)

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

mem = Memory.Allocate(1024); Dialog.Message("", mem); Memory.Free(mem)

See also:  Related Actions

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