Information générale
Catégorie:
Codage, syntaxe et commandes
Jim,
I believe that "THEN" was introduced in VFP 3. Which would make me consider it (now) a "part of theVFP IF construct".
Cheers,
Jim N
>>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement