Raised This Month: $ Target: $400
 0% 

Special effects on specific command


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-21-2019 , 21:10   Re: Special effects on specific command
Reply With Quote #14

Quote:
Originally Posted by Natsheh View Post
No its not the same there u reversing the bits in the other hand I'm checking if user hasn't the flag. Which will check if there isn't match in the bits

Think about it ~ is a bits operator which reverse

Can you please explain how it's more readable?
The only different between the two methods is that one returns a boolean and the other an integer. Otherwise, they are the same.
__________________
fysiks is online now
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode