Memory.Zero

Memory.Zero ( 

number  Memory )

Description

Zero all memory, this means all bytes in memory filled by Null.

Parameters

Memory

(number) Address of Memory.

Returns

Nothing.

Example

mem = Memory.Allocate(1024) Memory.PutString(mem, "Hi", -1, "Ascii") Dialog.Message("Before Zero Memory", Memory.GetString(mem, -1, "Ascii")) Memory.Zero(mem) Dialog.Message("After Zero Memory", Memory.GetString(mem, -1, "Ascii")) Memory.Free(mem)

See also:  Related Actions

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