lua-users home
lua-l archive

Re: hex numerical literals in 5.1

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


Todor Totev wrote:
> Thanks, I will check this.
>> Look in http://lua-users.org/wiki/LuaPowerPatches the patch:
>> "Bitwise operators and hexadecimal support"
Todor, that patch has not yet been updated for 5.1. There is at least
one way in which it will fail: it uses '#' for the XOR and
ones-complement operations. '#' is now a built-in operator in Lua.
I will try to update the patch soon, but it will probably be a month or
so. The patch is fairly simple so you could probably figure out what it
is doing.
Doug
-- 
--__-__-____------_--_-_-_-___-___-____-_--_-___--____
Doug Rogers - ICI - V:703.893.2007x220 www.innocon.com
-_-_--_------____-_-_-___-_--___-_-___-_-_---_--_-__-_

AltStyle によって変換されたページ (->オリジナル) /