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

Read
Excerpt
hiddentrue
Reads a byte from an open file.

Reads a byte from an

...

open file.

Parameters

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

Byte

The return value has no meaning.

Example

...

Error Handling

Throws String

...

Example

Example 1

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

...

routine" and space = currentSpace ( )
labels

...

array_routines