Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 3
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

fileReadByte(fid)

Package

file

Alias

Pkg Usage

readByte(fid)

Description

Excerpt
hiddentrue

Reads a byte from an open file.

Reads a byte from an open file.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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)
showLabelsfalse
max25
showSpacefalse
cqllabel = "file_

...

routines" and space = currentSpace ( )
labelsarray_routines