Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing Factors
Message
From
15/11/2002 14:31:34
 
 
To
15/11/2002 14:17:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00723361
Message ID:
00723368
Views:
13
>The MESSAGEBOX() function parses the 2N factors out of the various numbers passed to it to determine the various options. I need to accomplish this same sort of task. I should know this, but is there a formula or algorithm for parsing these factors out or does an iterative loop have to be used?

If I understood your question right, I think you must check the flags one by one (as in BITAND(m.lnValue,BITLSHIFT(1,m.lnFlag))!=0, or through constants, as in BITAND(m.lnValue,16)!=0).
----------------------------------
António Tavares Lopes
Previous
Reply
Map
View

Click here to load this message in the networking platform