(Formerly known as FileWriteRawLine, which is now obsolete)
File.WriteRawLine(string text)
Writes a string of text to the file in plain text format. This enables
you to read it back in Notepad or any text editor. This is useful for generating
logs and such like.
The TEXT will be printed to the file, followed by the standard newline characters.
Example:
File *output = File.Open("error.log", eFileAppend);
output.WriteRawLine("There was an error playing sound1.wav");
output.Close();
will write an error line in the file error.log.
See Also: File.ReadRawLineBack,
File.WriteString
|