Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why Doesn't the 'IF Then' Work
Message
De
21/09/1999 03:14:07
 
 
À
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:
00266978
Vues:
18
>Because you have SET EXACT OFF. Also, get rid of the "then"...it's not
evaluated.

Hey John,

THEN is now allowed syntax for IF. Check it out in the Help file. Caught me by surprise!


>
>>If I run this program, it prints "OK". Why
>>
>>cTest="This is a test"
>>If cTest="" Then
>> ?"Ok"
>>EndIf
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform