readByte


function readByte(res: resource):integer;

Reads the next byte from the given resource, or returns EOF if there is nothing to read or there was an error reading from the resource.

See also: openResource, resourceAvailable, closeResource, readLine