Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why Doesn't the 'IF Then' Work
Message
De
16/09/1999 08:07:31
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00265388
Message ID:
00265390
Vues:
17
Because you have SET EXACT OFF. Also, get rid of the "then"...it's not evaluated.

>If I run this program, it prints "OK". Why
>
>cTest="This is a test"
>If cTest="" Then
> ?"Ok"
>EndIf
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform