Writes data to the STDERR stream. Some text editors can read this stream as can other programs which may be expecting data on this stream.
ConsoleWriteError ( "data" )
|data||The data you wish to output. This may either be text or binary.|
Return ValueThe amount of data written. If writing binary, the number of bytes written, if writing text, the number of characters written.
RemarksThe purpose for this function is to write to the STDERR stream. Many popular text editors can read this stream. Scripts compiled as Console applications also have a STDERR stream.
Local $var = "Test"
ConsoleWriteError("var=" & $var & @CRLF)
; Running this in a text editor which can trap console output should produce "var=Test"