Versions Compared

Key

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

...

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.

charsetstringNoSpecifies the charset used to write that file (. Available since starting with katl-commons 4.0.0).

Return type

Empty value (The returned value has no meaning.)

Example

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

Prints to the story.txt file the record Once upon a time...

Notes

Note

It is recommended that you use forward slashes ( / ) for file paths. As a general observation

, please

use the silEnv() routine to create an absolute path.

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "file_routines"
labelsfile_routines

...