26.09.2010, 10:16
Quote:
Very useful tutorial. I never knew what most of those operators actually did until now.
|
![Cheesy](images/smilies/biggrin.png)
Quote:
Very very nice tutorial, so, when should I use binary?
Thanks you. |
Quote:
That piece of code there, I can't actually figure out how it works..
I mean, on the first page you explained that bitwise AND (&) will return as 0 if no bits are shared.. And after what I saw, 68 and 32 does not share any bits.. ![]() 68 = 1000100 32 = 0100000 And if you then do pawn Code:
|
Since the check came out to be false, the print wont be called. Is this what you're getting stuck on?