Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'SCAN FOR' vs 'LOCATE FOR'
Message
De
09/12/1999 20:43:21
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00301450
Message ID:
00301456
Vues:
30
>Hi everyone
>
>I've been using the 'SCAN FOR' command and the 'LOCATE FOR' command in some of my applications. In terms of speed - does anyone know which is supposed to be faster? They appear to work about the same speed to me...
>
>Regards
>
>Chris Kable
>FuelTrac

Both commands are Rushmore optimizable so time could be really the same. The difference is in result. LOCATE goes to particular record and SCAN goes through each record. If you compare LOCATE+CONTINUE against SCAN then probably SCAN would be faster, but difference is probably negligible.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform