Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | printInFile(filepath, var[, charset]) | Package | file | Alias |
| Pkg Usage | print(filepath, var[, charset]) |
|
Description
Excerpt |
---|
|
Prints in the specified file the provided value. |
Prints in the specified file the provided value. It appends the value to the file. For best results, use absolute paths, since relative paths are resolved starting with the current working directory.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
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.
...
Prints to the story.txt file the record Once upon a time...
Note |
---|
It is recommended that you use forward slashes ( / ) for file paths. As a general observation use the silEnv() routine to create an absolute path. |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "file_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|