lua-users home
lua-l archive

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


On Fri, Nov 19, 2010 at 16:38, Petite Abeille <petite_abeille@mac.com> wrote:
>
> On Nov 19, 2010, at 10:33 PM, Leo Razoumov wrote:
>
>> bit32['and'] is exactly the same as bit32.and
>
> Hmmm... no, it isn't :)
>
>> What is the point of using extra [''] symbols that are not needed here?
>
> So 'and' is parsed as a literal instead of a keyword.
>
>> Am I missing something?
>
> Hmmm... yes, you are :))
>

You are right. I somehow forgot (it is already afternoon Friday:) that
-- and, or -- are reserved keywords.

--Leo--