This language bar is your friend. Select your favorite languages!
Edit summary for version 32 :
[Pascal] Edited my comment

Version 31

Version 32

Idiom #59 Write to standard error stream

Print the message "x is negative" to standard error (stderr), with integer x value substitution (e.g. "-2 is negative").

Idiom #59 Write to standard error stream

Print the message "x is negative" to standard error (stderr), with integer x value substitution (e.g. "-2 is negative").

Code
writeln(StdErr , x , ' is negative');
Code
writeln(StdErr , x , ' is negative');
Comments bubble
If first argument indicates a text file or stream (as here), it is taken as the output file for writeln.
Comments bubble
If first argument indicates a text file or stream (as here), WriteLn uses it as the output file.
Doc URL
https://www.freepascal.org/docs-html/rtl/system/writeln.html
Doc URL
https://www.freepascal.org/docs-html/rtl/system/writeln.html
Demo URL
http://tpcg.io/nshNmK
Demo URL
http://tpcg.io/nshNmK