lua-users home
lua-l archive

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


Sorry for answering my own post - did press the send key too early! :-)
Lorenzo Donati wrote:

I wonder why no one has suggested bit32.And, bit32.Or ... etc.
Does that look less ugly? At least it doesn't call to mind constants (to me at least).
But I must admit that, after all, you could always do that as
local And = bit32.AND

-- Lorenzo




or maybe bit32.b_and ?
Not pretty, but far prettier than bit32.AND and clearer (browsing code) than bit32.and.

-- Lorenzo