Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a Large number of pages
Message
 
 
To
05/10/2002 12:56:26
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00708040
Message ID:
00708111
Views:
12
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform