Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan Endscan
Message
De
24/06/2005 19:53:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/06/2005 19:50:43
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01026363
Message ID:
01026473
Vues:
28
>>If the table scanned is sorted by an index are you saying that scan might not go in the sorted order?
>
>Exactly.
>
>This happened to me - but now that you ask, I think it was rather with a REPLACE ALL command.
>
>But a quick test confirms that the same happens with SCAN/ENDSCAN, too. It seems the records are processed in the order of recno().

Sorry - I just realize that I had set up the test incorrectly. It seems the records are processed in the correct order after all - in the case of scan/endscan. I wouldn't count on this always being so, though.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform