Re: upcoming changes in Lua 5.2 [was Re: Location of a package]
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: upcoming changes in Lua 5.2 [was Re: Location of a package]
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2008年2月19日 13:56:05 -0300
> Any chances that it'll be possible to pass a null character (000円) to
> string.format for format specifiers other than %q?
> <:: string.format("%s, %s, etc.", "0円", "1円")
I don't think so. Usually Lua passes the job to 'sprintf', which does
not accept embeded zeros. It could not use sprintf when the format
is simply "%s" (no maximum width/justification/minimum width), but it
would be strange to accept zeros in that case and not in the others.
-- Roberto