Memory.CopyString

Memory.CopyString ( 

number  Memory,

string  Text )

Description

Copy the Text at the specified address to the destination memory address if specified, or at the end of the current buffer if omitted.

Parameters

Memory

(number) Address of Memory.

Text

(string) Text that want copied to buffer.

Returns

Nothing.

Example

mem = Memory.Allocate(1024) Memory.PutString(mem, "AMSWaves", -1, "Ascii") Memory.CopyString(mem, "\r\n"); Memory.CopyString(mem, "2009"); Dialog.Message("Test", Memory.GetString(mem, -1, "Ascii")) Memory.Free(mem)

See also:  Related Actions

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