Memory.PutByte

Memory.PutByte ( 

number  Memory,

number  Byte )

Description

Writes a byte (1 byte) number to the specified memory address. Range: -128 to 127.

Parameters

Memory

(number) Address of Memory.

Byte

(number) Number of Byte.

Returns

Nothing.

Example

mem = Memory.Allocate(1024) Memory.PutByte(mem, 72) Memory.PutByte(mem+1, 105) Dialog.Message("", Memory.GetString(mem, -1, "Ascii")) -- Print Hi Memory.Free(mem)

See also:  Related Actions

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