Name
ReadByte -- read byte from file (V7.0)
Synopsis
b = ReadByte(id[, flags])
Function
This function reads a single byte from the file specified by id and returns it. Reading starts from the current file cursor position which you can modify using the Seek() command. After reading, ReadByte() will advance the file cursor by one byte.

The flags parameter may be set to one of the following flags:

#IO_UNSIGNED:
The return value will be unsigned and will range from 0 to 255. This is the default.

#IO_SIGNED:
The return value will be signed and will range from -128 to 127.

Inputs
id
file to read data from
flags
optional: additional flags (see above) (defaults to #IO_UNSIGNED) (V9.0)
Results
b
byte read from file

Show TOC