lua-users home
lua-l archive

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


>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