Programmer Guide/Command Reference/WRITELOG: Difference between revisions
From STX Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
:Write a formatted text composed by the specified [[Programmer_Guide/General_Descriptions/Format_Strings_and_Rules|format string]] <var>format</var> and the arguments <var>args</var>. | :Write a formatted text composed by the specified [[Programmer_Guide/General_Descriptions/Format_Strings_and_Rules|format string]] <var>format</var> and the arguments <var>args</var>. | ||
;Options | ;Options: | ||
:*<code>/Format</code>: mandatory option to write formatted text | :*<code>/Format</code>: mandatory option to write formatted text | ||
:*<code>/Clear</code>: clear the Log-window before writing text | :*<code>/Clear</code>: clear the Log-window before writing text |
Revision as of 16:25, 1 February 2016
This command writes a line of text to the Log-window.
WRITELOG text [/Newline … /Newline] [/Clear]
- Write text to the Log-window.
WRITELOG format args /Format [/Newline … /Newline] [/Clear]
- Write a formatted text composed by the specified format string format and the arguments args.
- Options
-
/Format
: mandatory option to write formatted text/Clear
: clear the Log-window before writing text/Newline
: each /N adds an empty line after the written text
- Note
- The output starts always at the begin of the next line. Its not possible to overwrite lines or to append text to the last line.
- See also