ReportWriteString( Text, ReportNumber )
Text – Any text to be written to the log file. This can be a fixed string, a variable or a complex compound string. See the example for illustrations.
ReportNumber – Identifier of report to write to. It is possible to use up to 5 report files at once ReportNumber is zero based, so the reports are numbered 0 to 4. Attempting to write to a report that has not been opened will silently fail. This parameter is optional and the default is 0.
This function writes a string to the given Report log.