Overview
Reads an integer (4 bytes on 32 bits processors, 8 bytes on 64 bits processors) number from the specified memory address. Range On 32Bit: -2147483648 to +2147483647. Range On 64Bit: -9223372036854775808 to +9223372036854775807.
(number) Address of Memory.
(number) Return Integer 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.PutInt(mem, 1024547) Dialog.Message("", Memory.GetInt(mem)) -- Print 1024547 Memory.Free(mem)
See also: Related Actions