Overview
Reads a byte (1 byte) number from the specified memory address. Range: -128 to +127.
(number) Address of Memory.
(number) Return Byte that reads from memory.
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.
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