Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax for IF STATEMENTS
Message
From
04/02/2003 20:20:35
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Syntax for IF STATEMENTS
Miscellaneous
Thread ID:
00749162
Message ID:
00749162
Views:
73
Hi all:

What is the syntax to do the following with AN if..statement.
DO Case
  Case code = "A"
    if age =>55 and <65
       do A
    else
       if age =>65 and <74
          do B
       else
          if age >75
              do C
          else
              if age <55
                  do D
          endif
       endif
    endif
  Case code = "B"
     similar if statements as above.
endcase
What is the best way to accomplish this? Thanks much.
- Ravi

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

Click here to load this message in the networking platform