Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a Large number of pages
Message
 
 
À
05/10/2002 12:56:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00708040
Message ID:
00708111
Vues:
11
>It does not really matter, while or for

You're right that WHILE and FOR will produce the same result. However FOR loop is only 4 lines of code compare to 10 lines of code for WHILE. Which one is more readable and easier to maintain?

More important is that you do not print any bill twice
suggest you change the between into
where ( reccno() between (i) and (i + lnBatchSize -1) )


Right, good catch.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform