Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ho in VFP IF (oField.Attributes AND afFLong)=aFLong?
Message
From
14/01/2000 20:45:14
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00310106
Message ID:
00318435
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform