writef, positional arguments, and array formatting

Max Samukha samukha at voliacable.com.removethis
Thu Oct 9 09:08:26 PDT 2008


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?

>Andrei



More information about the Digitalmars-d mailing list