David:
? bitand( nFlags, bitnot( 8 ) )
Thanks for the very simple solution. For me, the simpler, the better <s>.
>This will also work if you are wanting to clear more than one bit at a time.
Could you give me an example of what you mean.
Thanks!
Best
-=Gary