Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing Factors
Message
From
15/11/2002 14:55:37
 
 
To
15/11/2002 14:17:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00723361
Message ID:
00723381
Views:
8
>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?
>
>Thanks,
>Bill

Bill,

To check whether 2n is in, ie bit n is set
?BitTest(ValueToCheck, n)
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform