Memory.PutShort

Memory.PutShort ( 

number  Memory,

number  Short )

Description

Write a short (2 bytes) number to the specified memory address. Range: -32768 to +32767.

Parameters

Memory

(number) Address of Memory.

Short

(number) Number of Short.

Returns

Nothing.

Example

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

See also:  Related Actions

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