Hello world/Standard error: Difference between revisions

Content added Content deleted
(Add CLU)
(Emacs Lisp: Correct solution)
Line 360: Line 360:


=={{header|Emacs Lisp}}==
=={{header|Emacs Lisp}}==

<lang Emacs Lisp>
In batch mode, <code>message</code> actually prints to standard error:
(error "Goodbye, World!")

</lang>
<lang Lisp>(message "Goodbye, World!")</lang>
<b>Output:</b>

<pre>
For greater control, <code>princ</code> can be used with a special printing function:
Goodbye, World!

</pre>
<lang Lisp>(princ "Goodbye, World!\n" 'external-debugging-output)</lang>


=={{header|Erlang}}==
=={{header|Erlang}}==