View Single Post
  #1  
Old 01-15-2006, 06:41 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Strange operators

Explain these to me! Please.
NPC Code:
Bitwise-Or                a | b
Bitwise-And a & b
Bitwise-Shift left a << b
Bitwise-Shift right a >> b
Bitwise-Invert ~a
Bitwise-Xor a xor b (operator ^ already used for power)
Bitwise-Or Assignment a |= b
Bitwise-And Assignment a &= b
Shift Left Assignment a <<= b
Shift Right Assignment a >>= b



Also, why do people use := sometimes, instead of =?
Reply With Quote