printInFile

Description

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.

Parameters

Return Type

None

The returned value has no meaning.

Example

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

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

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

See also

Peacock