Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check for index
Message
From
15/02/2008 17:44:53
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01292953
Message ID:
01293108
Views:
20
>>>>What was the command again, to check whether an index tag exists? TRY-CATCH does seem a little awkward...
>>>>
>>>
>>>SELECT mytable
>>>? TAGNO(lcTagName) <> 0
>>>* or
>>>? TAGNO(lcTagName, "",lcAlias) <> 0
>>>
>>
>>Oh, right, thanks, that was it. I thought it was one of the commands included for compatibility - and this one is marked for "compatibility with dBASE".
>
>Still works, but you can also go with ascan and ataginfo. Though it would be an OVERKILL :)

I guess that program(), tagno(), tagc(), key() and other functions now internally call those two and just discard the arrays. So I think that these leftovers are the overkill... but then, do we care? We've always had duplicate names for functions. Any sys() call that was later named as a separate function still exists as a sys() call, doesn't it? Which is all fine - old code still works, now is more readable.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform