wwUtils::AppendToFile

Appends a raw string to the end of a file. The string is written as is without a linefeed.

This function uses low level file functions to attempt to write to the output file. The operation is very efficient.

If you want to use this for logging look at LogString() instead.

o.AppendToFile(lcOutput,lcFileName)

Return Value

nothing

Parameters

lcOutput
The string to write to the end of the file.

lcFileName
The file name to write the string to. If the file doesn't exist the file is created.

Remarks

If the file can't be opened or created the function fails silently.


See also:

Class wwUtils

© West Wind Technologies, 1996-2024 • Updated: 02/08/16
Comment or report problem with topic