whats the symbol for the AND operator? I've never seen it or such I think...?
AND operator?
Posted by Metsuro on Fri 23 Dec 2005 08:32 PM — 2 posts, 12,966 views.
You mean logical and or bitwise and?
The logical and is "and", like this:
The bitwise and is in the "bit" library supplied with MUSHclient:
The logical and is "and", like this:
if a > 5 and c > 6 then
-- do something
end -- if
The bitwise and is in the "bit" library supplied with MUSHclient:
print (bit.band (15, 7, 3)) --> 3