Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ascan
Message
 
 
À
22/12/2005 12:17:58
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Ascan
Divers
Thread ID:
01080090
Message ID:
01080234
Vues:
18
>>>>>How to use ascan()?
>>>>>
>>>>>I do not understand the 3rd,4th parameter, nStartElement , nElementsSearched.
>>>>>
>>>>>I like to using ascan to determine the specify field exist.
>>>>>
>>>>
>>>>
>>>>? "exists ",fsize("fieldname",alias) > 0
>>>>
>>>>>
>>>>>TIA.
>>>
>>>Is FSIZE faster than TYPE?
>>
>>2-4 X faster.
>>The rule is : uses TYPE() when you are desperate :)
>>
>>Of course you don't have to touch "set compatible"
>
>AND TYPE("Object.Property") is not the same as FSIZE(field,alias)

I would go with type unless I'm in a 100000 iterations loop.
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