Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'SCAN FOR' vs 'LOCATE FOR'
Message
From
09/12/1999 20:45:40
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00301450
Message ID:
00301457
Views:
26
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
Previous
Reply
Map
View

Click here to load this message in the networking platform