Logo

Programming-Idioms

History of Idiom 59 > diff from v13 to v14

Edit summary for version 14 by :

Version 13

2015-08-22, 10:04:26

Version 14

2015-08-22, 21:24:07

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, Format('%d is negative',[-2]));