lua-users home
lua-l archive

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

>From: Mario Cardona <>
> I'm new to lua. I wonder why the C notation for
>hexadecimal numbers is not supported in lua. I wish
>it were. 

for hexadecimal numbers inside  strings, try *decimal* numbers:


for hexadecimal numbers as numbers, there's no direct support, but you try:


where X is a *function* which is easy (if boring) to write (use gsub!)