Memory.PutInt

Memory.PutInt ( 

number  Memory,

number  Int )

Description

Writes an integer (4 bytes on 32 bits processors, 8 bytes on 64 bits processors) number to the specified memory address. Range On 32Bit: -2147483648 to +2147483647. Range On 64Bit: -9223372036854775808 to +9223372036854775807.

Parameters

Memory

(number) Address of Memory.

Int

(number) Number of Int.

Returns

Nothing.

Example

mem = Memory.Allocate(1024) Memory.PutInt(mem, 65894) Dialog.Message("", Memory.GetInt(mem)) -- Print 65894 Memory.Free(mem)

See also:  Related Actions

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