writef, positional arguments, and array formatting

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Oct 9 09:22:50 PDT 2008


Max Samukha wrote:
> On Thu, 09 Oct 2008 10:55:34 -0500, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
> 
>> Max Samukha wrote:
>>> Positional formatting would be great. Maybe make it zero-based? Would
>>> it conflict with the '0' flag then? Or $ is enough to disambiguate?
>>> What about making %1 a shortcut for %1$s?
>> It's in already, just not very tested. I used the POSIX positional 
>> formatting syntax.
>>
> 
> Will you relieve the constraints that there must be no multiple %
> pointing to the same argument and positional and non-positional % must
> not be mixed?

Those restrictions have been relaxed. Try it!

Andrei



More information about the Digitalmars-d mailing list