lua-users home
lua-l archive

Re: Array Logical Operators

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


2011年10月25日 Tony Finch <dot@dotat.at>:
> I recommend using the same operator for unary NOT and binary XOR,
> by analogy with negation and subtraction.
> ~ is a good choice given its use in the ~= operator and in C.
Mnemonic: "A NOT B" means either "(A NOT) B" or "A (NOT B)".
Yes!
Dirk

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