Jump to content

function explanation **quicky**


scottybwoy

Recommended Posts

That is logical AND syntax.

e.g.

 

if $int = 4 then in binary it is 00000100

and 1 is 00000001

 

so doing the logical AND of these gives you:

 

00000100

00000001

=======

00000000

 

Which as you can see is 0, or false...

 

Can you see how it works for an odd number now? ;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.