Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Seek or locate ?
Message
De
05/06/2001 13:24:31
 
 
À
05/06/2001 12:58:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00514305
Message ID:
00515254
Vues:
20
Craig,

>>Walter,
>>
>>I don't have any problems with that approach. I just seem to remember that the SEEK + DO WHILE combination is supposed to be a little quicker. Haven't tested it myself so I may be incorrect and I suppose in the long run it's not a real big deal.
>>
>>It always amazes me how many different ways in FoxPro one can do any given task...
>>
>
>Doug,
>
>SCAN WHILE will always be faster than DO WHILE. This is because SCAN does an implicit SKIP which is faster than the explicit SKIP in the DO WHILE. In a large loop with many records, the additional time can add up quickly.

I think Walter was correct in that I had confused SCAN FOR with SCAN WHILE...

BTW.. Enjoyed lunch yesterday...
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform