Logo

Programming-Idioms

History of Idiom 59 > diff from v10 to v11

Edit summary for version 11 by :

Version 10

2015-08-20, 11:03:38

Version 11

2015-08-20, 16:46:06

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").

Imports
import std.stdio;
Code
stderr.writeln(x, " is negative");