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

fileWrite(fid, string_byte_or_bytearray)

Package

file

Alias

Pkg Usage

open(fid, string_byte_or_bytearray)

Description

Excerpt
hiddentrue
Writes text or byte data to an open file.

Writes text or byte data to 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 write to.

string_byte_or_bytearray

String/Byten

Yes

The text string or byte data to write to the file.

Return Type

None

Return value has no meaning.

Error Handling

Throws

...

string

A string starting with “String

...

Example

Example 1

Code Block
languagejs
use "file";

int fid = open(filename); //fileOpen
fileWrite(fid, "First line is here
"); //full name of the routine
write(fid, "Second line is here
");
close(fid); //fileClose

See also

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

...

routine" and space = currentSpace ( )
labelsarray_routines