Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | fileReadByte(fid) | Package | file | Alias | |
...
...
Description
Excerpt |
Read |
---|
|
Reads a byte from an open file. |
Reads a byte from an
...
open file.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
fid | |
...
String | Yes | The id of the open file to read from. |
|
Return
...
Type
Byte
The return value has no meaning.
Example
...
Error Handling
Throws String
...
Example
Example 1
Code Block |
---|
|
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""C:\myData.dat");
runnerLog(fileReadByte(fid));
close(fid); //fileClose |
Returns: 61
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "file_ |
---|
|
...
routine" and space = currentSpace ( ) | labels |
---|
|
...