Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code it better
Message
 
 
À
19/08/2008 12:09:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01339981
Message ID:
01339983
Vues:
11
>I was thinking replacing this
>
>
>IF PEMSTATUS(_VFP, [ActiveProject], 5) AND ;
>    [O] = TYPE("_VFP.ACTIVEPROJECT") AND ;
>    !EMPTY(_VFP.ACTIVEPROJECT.HOMEDIR)
>
>	* Do something
>ENDIF
>
>
>With
>
>
>IF [C] = TYPE([_VFP.ACTIVEPROJECT.HOMEDIR]) AND ;
>    !EMPTY(_VFP.ACTIVEPROJECT.HOMEDIR)
>
>	* Do something
>ENDIF
>
>
>Any better suggestion?

I think the second variation is OK as is. What is the bigger picture?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform