lua-users home
lua-l archive

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


you can always write a hex to decimal conversion routine...


so you could call a routine that expects a decimal as:

result = foo(HexToDec(0x00a0123b3));

On Thursday, October 30, 2003, at 10:03 PM, Brett Bibby wrote:

Hi,
Is there any way to specify numeric constants in any base other than 10?
Specifically I want to specify numbers in hexidecimal format such as
0x00a012b3.  Is there any way to do this?
Thanks,
Brett


-----------------------
Ando Sonenblick
SpriTec Software
www.spritec.com