Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCAN ... ENDSCAN
Message
From
26/09/2001 18:00:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00560821
Message ID:
00561247
Views:
35
>>I guess, now I have to run couple of tests to confirm or deny the original statement. I'm in the middle of something, but hopefully will have time in the evening...
>
>I just realized that there also could be a difference in finding the first record. If SCAN implicitly uses GOTO TOP to find the first record than SCAN WHILE NOT EOF() could be faster because it doesn't have to do that.

Scan REST would be easier then. We usually forget the scope clause, and it can come quite handy at times. At this point, the loop doesn't have to evaluate any condition - it simply goes from the current record on, active tag or not.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform