Raised This Month: $ Target: $400
 0% 

!= is not, but how what if & ???


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
marquezs
Member
Join Date: Jun 2010
Old 01-01-2011 , 21:01   Re: != is not, but how what if & ???
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post
Not to confuse you, but another way is this:

Code:
if( ~get_user_flags(someone2) & ADMIN_LEVEL_H ) {     // someone2 does NOT have ADMIN_LEVEL_H }
is it the same as this

Code:
if(!(get_user_flags(someone2) & ADMIN_LEVEL_H)) {     // someone2 does NOT have ADMIN_LEVEL_H }
marquezs is offline
 



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 02:08.


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