Syntax
fileReadByte(fid)
Package
file
Short Name
readByte (only when using package)
Description
Read a byte from an already opened file.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
fid | integer | Yes | The id of the open file to read from. |
Return type
Byte
The return value has no meaning.
Example
use "file"; int fid = fileOpen(filename); //full name of the routine fileWrite(fid, "First line is here\n"); //full name of the routine write(fid, "Second line is here\n"); close(fid); //fileClose