Memory.GetByte

number Memory.GetByte ( 

number  Memory )

Description

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

Parameters

Memory

(number) Address of Memory.

Returns

(number) Return Byte that reads from memory.

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) Memory.PutString(mem, "Hi", -1, "Ascii") Dialog.Message("", Memory.GetByte(mem)) -- Print Ascii of H ( H = 72) Memory.Free(mem)

See also:  Related Actions

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