[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Problem with string.format in lua 5.0 & 5.1
- From: "Todor Totev" <umbra.tenebris@...>
- Date: Wed, 14 Dec 2005 18:53:50 +0200
Thanks for prompt resolution.
Is this will be available in 5.0?
And where I can get the code from?
On Wed, 14 Dec 2005 18:21:04 +0200, Roberto Ierusalimschy
2) change semantics of lua modifier %x to mean
"Show lua number with hex digits".
We have followed that option (as much as possible). luaconf.h now
@@ LUA_INTFRMLEN is the length modifier for integer conversions
@* in 'string.fomat'.
@@ LUA_INTFRM_T is the integer type correspoding to the previous length
** CHANGE them if your system supports long long or does not support
By default, LUA_INTFRMLEN is "l" and LUA_INTFRM_T is long, but the first
can be "ll" or "I64" (or "") and the second long long (or int).