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 | | Pkg Usage | readByte(fid) |
|
Description
Excerpt |
---|
|
Reads a byte from an open file. |
Reads a byte from an open file.
...
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
Bytebyte
Throws
string
"read_error:"
followed by the error message if the read fails
Example
Example 1
Code Block |
---|
use "file";
int fid = fileOpen("C:\myData.dat");
runnerLog(fileReadByte(fid));
close(fid); |
Returns: 61
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "file_ |
---|
|
...
routines" and space = currentSpace ( ) | labels | array_routines |
---|
|