lua-users home
lua-l archive

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]


> 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

AltStyle によって変換されたページ (->オリジナル) /