Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting field presence in dbf
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01244177
Message ID:
01244455
Views:
20
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform