Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO WHILE vs SCAN WHILE...?
Message
De
23/06/2005 19:42:25
 
 
À
23/06/2005 15:58:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01026042
Message ID:
01026117
Vues:
17
>What would be the difference in using DO WHILE vs SCAN WHILE...?
>Is there a performance issue?
>
>Thanks in advance, M.
My preference is for SCAN. In addition to what has been said, I think it is slightly cleaner especially if you have both a WHILE and FOR clause.

One thing to be aware of, however. Nested SCANs do not work as expected because of the extra SKIP at the second ENDSCAN.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform