Hello world/Standard error: Difference between revisions

Line 804:
=={{header|Slate}}==
<lang slate>inform: 'Goodbye, World!' &target: DebugConsole.</lang>
 
=={{header|Smalltalk}}==
The details on to which name stderr is bound may vary between Smalltalk dialects. If different, a "Smalltalk at:#stderr put:<name your stream here>" should provide compatibility.
 
<lang smalltalk>Stderr nextPutAll: 'Goodbye, World!'</lang>
 
However, all smalltalks provide a console named "Transcript", where diagnostics is usually sent to. Thus:
 
<lang smalltalk>Transcript show: 'Goodbye, World!'</lang>
 
will work on all, and is the preferred way to do this.
 
=={{header|SNOBOL4}}==
Anonymous user