PeekW()

Syntax

Value.w = PeekW(*Buffer, Offset)
Description
Reads a word (2 bytes) number from the specified memory buffer.

Parameters

*Buffer The buffer to read from. It must have been allocated with AllocateMemory() or ReAllocateMemory().
Offset The offset (in bytes) in the buffer.

Return value

Returns the value of the word.

See Also

PokeW()

Supported OS

All

<- PeekU() - Memory Index - PokeA() ->