[slang-users] Reg bitwise &

Ajay Kumar Ajay.Kumar at omantel.om
Tue Oct 31 01:09:15 EST 2006


Hi, 
I am a new bee in slang. I would like to know the functionality of bit
wise and (&) operator in slang.

Int1 = (25 & 1)
Int2 = (25 & 2)
Int3 = (25 & 4)

Int4 = (26 & 1)
Int5 = (26 & 2)
Int6 = (26 & 4)

What is expected return values in the IntX specified above? How does
slang proceeds with calculating the values.

Thanks in advance,
Bill.




More information about the slang-users-l mailing list