View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 10-08-2010 , 13:42   Re: [TUT] Bits, Bit-fields, and Bit-wise Operators
Reply With Quote #26

Connor, IMO, it is better to show the enum values as the value of one with a respective left shift since thats how bit sums are referred to throughout the tut. I do understand where you are coming from though and will add the respective X << 1 shift as well as keep what I have now.

Zezima, that is explained above, you use var &= ~( 1 << 2 )
__________________

Last edited by Bugsy; 10-08-2010 at 16:20.
Bugsy is offline