Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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

Error Handling

Throws String

string

...

Example

Example 1

Code Block
languagejs
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_

...

function" and space = currentSpace ( )
labelsarray_

...

functions