ReadWord

Category: Files

Back to System Functions


Signature

ReadWord(fileHandle As Integer)

Returns

Integer

Description

Reads one 16-bit unsigned integer from the current file position and returns it as an Integer.

The file position advances by two bytes.

Example

value = ReadWord(fileHandle)