fileReadByte
Syntax | fileReadByte(fid) | Package | file |
Alias |
| Pkg Usage | readByte(fid) |
Description
Reads a byte from an open file.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
fid | String | Yes | The id of the open file to read from. |
Return Type
Byte
Error Handling
Throws String
Error: "read_error": followed by the error message if the read fails
Example
Example 1
use "file";
int fid = fileOpen("C:\myData.dat");
runnerLog(fileReadByte(fid));
close(fid);Returns: 61
See also
Peacock
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.
