Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can this be done using IF Statements?
Message
De
26/11/2002 23:21:47
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Can this be done using IF Statements?
Divers
Thread ID:
00727403
Message ID:
00727403
Vues:
29
Hi all:

I am trying to code the following but am not sure how to apply the OR and BETWEEN conditions in an IF Statement. Actually, I am not sure whether that can be done itself.

Here goes the psuedocode. Need to determine the following:
If mCode = "5B" &&then check the age  
     If the age is below 55 then 
          use mCode
     else
          If the age is between 55 and 64 then && this is where I don't know the syntax
               use code "7B"
     Else
          if age is between 65 and 74 && and i don't know the syntax
               use Code "6B"
     Else
          if age is > 75
               use code "1B" 
Endif
Thank you for your advise.
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform