On Aug 2, 2011, at 7:57 PM, Dale Miller wrote:

> It is disconcerting that if A = 0x'0110' and B = '1001' then A & B returns 
> true but A && B returns 0, so "if (A && B)' is executed, the 'true' leg is 
> not taken

Don’t you have that backwards? Assuming B was supposed to be hex, i.e. 0x1001, 
then A & B would be 0, whereas A && B would be true.

Charles_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to