lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Feb 5, 2009 at 3:04 PM, Sam Roberts <vieuxtech@gmail.com> wrote:
It appears the patch doesn't pass the "0b" prefix to strtol(), it
strips it, and requests base conversion using the last argument to
strtol().

I like it, its nice for bit fields, and it would be nice to have a %b
string.format specifier, too.

I would love to see this in Lua 5.2.
--
Regards,
Ryan