Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 6

See also

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

fileReadByte

fileReadLine(fid)

Package

file

Alias

Pkg Usage

readByte

readLine(fid)

Description

Excerpt
hiddentrue
Reads a byte line of text from an open file until it reaches the end of the line (\n or \r\n).

Reads a byte line of text from an open file until it reaches the end of the line (\n or \r\n).

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

ByteString

Example

Example 1

Code Block
use "file";

int fid = fileOpen("C:\myDataalphabet.dattxt");
runnerLog(fileReadBytefileReadLine(fid));
close(fid);

Returns: 61ABCDEFGHIJKLMNOPQRSTUVWXYZ

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "file_

...

routine" and space = currentSpace ( )
labelsarray_routines