[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: hex numbers
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 26 Aug 2000 21:17:31 -0300
>Is there any planned support for hexadecimal values for the Lua
>language?
No plans.
>(I read the past posts on using the string functions to do it. Seems
>though
Yes, I suggested
function X(s) return tonumber(s,16) end
which is used as X"83AB2", which is very readable.
>it would be nice to have support for this built-in.)
Why? "Efficiency"?
--lhf