Memory.GetChar

number Memory.GetChar ( 

number  Memory )

Description

Reads a Char (1 byte) number from the specified memory address. Range: 0 to +255.

Parameters

Memory

(number) Address of Memory.

Returns

(number) Return Char 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, "±i", -1, "Ascii") Dialog.Message("", Memory.GetChar(mem)) -- Print Ascii of ± ( ± = 177) Memory.Free(mem)

See also:  Related Actions

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