Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Seek headaches
Message
De
30/08/1998 19:24:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00131292
Message ID:
00131395
Vues:
19
>>Code Example
>>
>>IF SEEK(key, "table", "Index") THEN
>>ENDIF
>>
>>and then return an error of
>>
>>'Table has no index order set'
>>
>>I thought that's that purpose of the 3rd param.
>>
>>Any help...
>>
>Geno,
>
>THEN is NOT part of the VFP IF construct. The syntax is;
>
>IF
> * Code to run if true
>ELSE
> * Code to run if false
>ENDIF
>
>The ELSE is optional. Depending on which version fo VFP you are using the THEN may be ignored or it may cause an error.

Sorry for the confusion. I now it is ignored yet use it to stay consistent when coding in VFP and VB (which it is required).

Geno
Geno Prida
Watson Wyatt Worldwide
geno_prida@watsonwyatt.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform