Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bitxor question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00461084
Message ID:
00461465
Views:
15
Harry,

Sergey's has already given you the correct syntax. Just to add a bit more information, bits in the same position result in the following
A   B   Result
0   0     0
1   0     1
0   1     1
1   1     0
To sum it up, if bits in the same position match, the return value is that the bit in the return value is not set (it's cleared). If they do not match, the bit is set.

Thanks George

Harry
Previous
Reply
Map
View

Click here to load this message in the networking platform