Re: 2.6.x Recent posts list with date and time [message #20659 is a reply to message #20655] |
Sat, 23 October 2004 11:44 |
|
Wild_Cat
Messages: 144 Registered: November 2002 Location: Odessa, Ukraine
Karma:
|
Senior Member |
|
|
Abraxa, this is me who is not familiar with bit operations (if you read my previous panic questions about it)! At least hasn't been until yesterday.
What you say was about what I was thinking at first, but counting that it is possible (even if not commonly logical) to make permissions visible=0 and readable=1 means you will get in this case 3 with your code!
I mean, if you have
or did I get the operation meaning wrong?
I thought it's just safer to be independent from visible if I move one bit right and only take into account readable permission.
Lady of Avalon
[Updated on: Sat, 23 October 2004 12:00] Report message to a moderator
|
|
|