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