lua-users home
lua-l archive

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

On 11/21/2010 03:12 AM, HyperHacker wrote:

I'm wondering why they can't just be named "and", "or" etc. Can the
compiler not be made to recognize that the "or" in "bit32.or" is an
identifier rather than a keyword (which wouldn't be syntactically

I would much prefer that as well, but I do not see how it makes a lot
of difference in this case, as surely when you need bitops, the first
thing you do is

   local band = bit32.AND

Best wishes,