Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it okay to name a function True()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Database:
Firebird
Divers
Thread ID:
01097002
Message ID:
01097053
Vues:
15
Yap, my mistake. VFP indeed replace only whole word :o( Sorry for that.

>Hi Sergey
>
>Thanks for your replies.
>
>>Neither _True nor IsTrue will be affected by above #DEFINE because VFP replaces the whole words only. Anyway, I would go with Craig suggestion elsewhere in this thread.
>
>That is a relief. So I guess I can safely stick to _True as opposed to IsTrue() as below:
>
#define True .T.
>
>
IF _True(xx)
>   ...
>ENDIF
>
>
IF NOT _True(xx)
>   ...
>ENDIF
>
>as opposed to
>
IF IsTrue(xx)
>   ...
>ENDIF
>
>
IF NOT IsTrue(xx)
>   ...
>ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform