Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Parameter name

Type

Required

Description

filepath

String

Yes

Specifies the file name to write in.

var

String

Yes

Specifies the character expression to write into the file filepath.

charset

String

No

Specifies the charset used to write that file. Available starting with katl-commons 4.0.0.

Return Type

None

The returned value has no meaning.

Example

Code Block
languagejs
printInFile("C:/story.txt", "Once upon a time...");

...

Note

It is recommended that you use forward slashes ( / ) for file paths. As a general observation use the silEnv() routine function to create an absolute path.

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "file_routine" and space = currentSpace ( )
labelsarray_routines

We've encountered an issue exporting this macro. Please try exporting this page again later.