Overview
Reads a long (4 bytes) number from the specified memory address. Range: -2147483648 to +2147483647.
(number) Address of Memory.
(number) Return Long 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.PutLong(mem, 10245) Dialog.Message("", Memory.GetLong(mem)) -- Print 10245 Memory.Free(mem)
See also: Related Actions