Jan 4, 2006 1 #2 Salem Programmer Apr 29, 2003 2,455 GB [tt]val = val & ~flags;[/tt] The ~ inverts all the bits in flags So the result is that all the bits which were set in flags will now be clear in val. -- Upvote 0 Downvote
[tt]val = val & ~flags;[/tt] The ~ inverts all the bits in flags So the result is that all the bits which were set in flags will now be clear in val. --
Jan 6, 2006 Thread starter #3 billbose Programmer Jan 15, 2001 66 US Thx for the info, Salem Upvote 0 Downvote