Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SCAN ... ENDSCAN
Message
De
26/09/2001 18:00:16
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00560821
Message ID:
00561247
Vues:
36
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform