Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can this be done using IF Statements?
Message
From
27/11/2002 00:08:35
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00727403
Message ID:
00727407
Views:
7
>You can use DO CASE statement.
DO CASE
>CASE age < 55
>	*use mCode
>CASE BETWEEN(age, 55, 64)
>	*use code "7B"
>CASE BETWEEN(age, 65, 74)
>	*use Code "6B"
>CASE age = 75
>	*use code "1B"
>OTHERWISE	
>	* age > 75
>ENDCASE
>
Thank you Sergye - I will try out the Do Case statements.
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Previous
Reply
Map
View

Click here to load this message in the networking platform