Hello world/Standard error: Difference between revisions

Content added Content deleted
m (added whitespace before the TOC (table of contents), added a ;Task: (bold) header, added other whitespace to the task's preamble.)
Line 1: Line 1:
{{task|Basic language learning}} {{selection|Short Circuit|Console Program Basics}}
{{task|Basic language learning}}
{{selection|Short Circuit|Console Program Basics}}
[[Category:Streams]]
[[Category:Streams]]
{{omit from|Applesoft BASIC}}
{{omit from|Applesoft BASIC}}
Line 16: Line 17:


The normal messages print to what is called "standard output" or "standard out".
The normal messages print to what is called "standard output" or "standard out".

The error messages print to "standard error".
The error messages print to "standard error".


This separation can be used to redirect error messages to a different place than normal messages.
This separation can be used to redirect error messages to a different place than normal messages.



Show how to print a message to standard error by printing "Goodbye, World!" on that stream.
;Task:
Show how to print a message to standard error by printing     '''Goodbye, World!'''     on that stream.
<br><br>


=={{header|4DOS Batch}}==
=={{header|4DOS Batch}}==