Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BitSet & Integer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00919018
Message ID:
00919083
Vues:
21
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....
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform