Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ho in VFP IF (oField.Attributes AND afFLong)=aFLong?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00310106
Message ID:
00318435
Vues:
22
>Ok, now, this way is very hard, because i need know the exact bit position for each propiertie, then a look a best solution...

No, each property is a power of two; so to use the example of a setting of 234 and a mask of 128:

? bitand(234,128)


IF BITAND(value,compareconstant) = compareconstant

It helps to RTFM once in a while.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform