Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bitwise function(s) Question -- Again!
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00722339
Message ID:
00722370
Views:
32
>George, if the 'flag' has already been removed, won't BitXor(nFlags,8) just put it back in and return 10 again for nFlags = 2?
>
Alan,

Yes, if it's already been cleared it will. If you need to check if it is set then either BITAND(nFlags, 8) or BITTEST(nFlags, 3).
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform