Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BitSet & Integer
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00919018
Message ID:
00919083
Views:
22
hmmm, good question....
don't know, maybe there's a difference when storing the value in a field and when store it in a variable?
The docs says that for bittest() / bitset() the second parameters should be from 0 to 31, but BitSet(0, 31) = -2,147,483,648 wich is out of the VFP integer limits....

>So Why would this work fine ?
>
>n=BitSet(0, 31)
>? n
>? Bittest(n, 31)
>
>
>>Becareful because all the bitwise() operation works only on integers, so from -2,147,483,647 to 2,147,483,647, no support out that range, it's a VFP limitation....
Previous
Reply
Map
View

Click here to load this message in the networking platform