Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BitAnd() limitation?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00931430
Message ID:
00933254
Views:
25
>Gunnar,
>
>You can use two fields. The first one for 0-31 (32 possibilities) and the second for 32 to 63. You'll just have to check if the field is greater than 31 and, if so, check the second field. You can do the same thing with one 8 byte character field, but then there's the overhead of converting portions of it to an integer.

Hello George

Re: BitAnd() limitation? Thread #931430 Message #932840 has found the solution. i have added to it to allow for bits over 52 to work by converting literly to a binary string and manually testing each substring.

of course if i get to that length it will be a bit slower <s>

Thank you for your help!
Previous
Reply
Map
View

Click here to load this message in the networking platform