Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'SCAN FOR' vs 'LOCATE FOR'
Message
De
09/12/1999 20:45:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00301450
Message ID:
00301457
Vues:
24
They are both Rushmore optimizable, so the speed should be almost the same. But if you're using LOCATE FOR ... CONTINUE instead of SCAN FOR ... ENDSCAN, you should keep in mind that LOCATE ... CONTINUE cannot be nested, while SCAN... ENDSCAN can. The code is also more clear with SCANs than with LOCATEs.

Vlad

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform