print function

Jonathan M Davis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Feb 3 16:58:05 PST 2016


On Thursday, February 04, 2016 00:23:07 ixid via Digitalmars-d-learn wrote:
> It would be nice to have a simple writeln that adds spaces
> automatically like Python's 'print' in std.stdio, perhaps called
> print.

If that's what you're looking for, I expect that most of us would think that
it's just better to use writefln with a format string. But if you really
want it, you can always create such a wrapper yourself.

- Jonathan M Davis



More information about the Digitalmars-d-learn mailing list