Two standard libraries?

Jason House jason.james.house at gmail.com
Sat Jul 14 09:31:01 PDT 2007


Sean Kelly wrote:
> For what it's worth, Stdout supports a number of different output 
> methods.  The "whisper syntax" you show above is just the most commonly 
> known.  For formatted output similar to writefln you'd do:
> 
> Stdout.format( "X is: {}", x ).newline;


Using Stdout.formatln() instead of Stdout.format().newline is more 
likely to be accepted by phobos users.

Out of curiosity, why is {} used instead of %s?



More information about the Digitalmars-d mailing list