Programmer Guide/Command Reference/WRITELOG: Difference between revisions
From STX Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
WRITELOG <var>text</var> [/Newline ... /Newline] | WRITELOG <var>text</var> [/Newline ... /Newline] | ||
WRITELOG <var>format args</var> /Format [/Newline ... /Newline] | WRITELOG <var>format args</var> /Format [/Newline ... /Newline] | ||
Write a line to the log window. Use <code>/Clear</code> to empty the log window before text is written. Format strings are described in the topic Format Strings and Rules. The arguments are the same as for the <code>WRITE</code> command. Instead of this command the macros <code>LOGMSG</code> or <code>BUTIL LOGMSG</code> can be called, which append some useful information to the text (e.g. application name, date/time,…). | Write a line to the log window. Use <code>/Clear</code> to empty the log window before text is written. Format strings are described in the topic Format Strings and Rules. The arguments are the same as for the <code>WRITE</code> command. Instead of this command the macros <code>LOGMSG</code> or <code>BUTIL LOGMSG</code> can be called, which append some useful information to the text (e.g. application name, date/time,…). |
Revision as of 13:52, 15 April 2014
WRITELOG text [/Newline ... /Newline] WRITELOG format args /Format [/Newline ... /Newline]
Write a line to the log window. Use /Clear
to empty the log window before text is written. Format strings are described in the topic Format Strings and Rules. The arguments are the same as for the WRITE
command. Instead of this command the macros LOGMSG
or BUTIL LOGMSG
can be called, which append some useful information to the text (e.g. application name, date/time,…).