[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: POSIX extension: printf positional specifiers for string.format
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 23 Mar 2009 22:32:02 -0300
> printf("%2$s %1$s\n", "world!", "Hello"); /* prints "Hello world!\n" */
> I haven't been able to find any discussion in the archives proposing
> similar behavior for Lua. Has this been kicked around before?
It was present in Lua from 3.1 till 4.0, but it was removed in 5.0.
See "Incompatibilities with version 4.0"/"Changes in the Libraries" in