Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting field presence in dbf
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01244177
Message ID:
01244455
Vues:
23
>>1) The function name doesn't actually reflect what it's doing.
>>
>>2) AFAIK ASCAN() can return the correct result without a need of asubscript.
>
>>1) The function name doesn't actually reflect what it's doing.
>
>In your opinion.
>

See Re: Detecting field presence in dbf Thread #1244177 Message #1244412

In your case you're returning the number of the field, but the function name starts with 'Is', which, in my opinion, implies the logical return value.

>>2) AFAIK ASCAN() can return the correct result without a need of asubscript.
>
>Yes, but this was written in 2001. Did those flags exist then. Can't remember. But now that I've been reminded that they exist, I'll have to make use of that.

Agree.
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