Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
If, then, else
Message
De
12/03/1997 08:56:41
 
 
À
12/03/1997 08:08:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00023771
Message ID:
00023865
Vues:
35
>>Erik,
>>
>>Mr. Pikman can speak for himself - maybe *HE* does not use THEN in VFP, but others can and do! I guess his "we" is the 'royal we'.
>>
>>Mr. Pikman has also, as near as I can tell, indirectly told you the solution to your problem - you do not have a equal-sign before the MESSAGEBOX, so it probably is not being recognized as a command. This would mean that you (effectively) have NOTHING after the ELSE, so the debugger isn't actually lying to you.
>
>Microsoft supports lots of things that they don't advise!
>So, just because VFP supports THEN it doesn't mean you should use it. Here's why:
>
>- If you came from VB you have some time to get used to VFP's syntax
>- The natural step above VFP is C wich DON'T support THEN.
>- Once in VFP you'll never want to go back to VB
>- THEN is not standard xBase.
>
>I guess I'll join Mr. Pikman's 'royal we'!

Congratulations! I missed to be alone there.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform