Memory.PutChar

Memory.PutChar ( 

number  Memory,

number  Char )

Description

Writes a character (1 byte) number to the specified memory address. Range: 0 to +255.

Parameters

Memory

(number) Address of Memory.

Char

(number) Number of Char.

Returns

Nothing.

Example

mem = Memory.Allocate(1024) Memory.PutChar(mem, 72) Memory.PutChar(mem+1, 105) Dialog.Message("", Memory.GetString(mem, -1, "Ascii")) -- Print Hi Memory.Free(mem)

See also:  Related Actions

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