Memory.GetDouble

number Memory.GetDouble ( 

number  Memory )

Description

Reads a double (8 bytes) number from the specified memory address. Range: unlimited.

Parameters

Memory

(number) Address of Memory.

Returns

(number) Return Double 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.PutDouble(mem, 102487.56) Dialog.Message("", Memory.GetDouble(mem)) -- Print 102487.56 Memory.Free(mem)

See also:  Related Actions

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