Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow LOCATE command in _Assign method
Message
From
12/05/2010 03:16:10
 
 
To
11/05/2010 10:52:56
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01463679
Message ID:
01464273
Views:
55
Perhaps I should clarify what I meant by "implicit loop" -- the question was if the condition specified in the FOR clause would be evaluated multiple times (as if in a loop). In the worst case where the search can't be optimized, wouldn't it be equivalent to iterating sequentially through the list? If this is indeed the case then this might explain the apparent difference in speed between using memory variable and property of an object.

>LOCATE has nothing to do with loops. It simply finds the first matching record.
>
>>Is there an implict loop with LOCATE?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform