| 
 | 
On Wed, 27 Feb 2002, Bob Cozzi (RPGIV) wrote:
> written, they do NOT have DOW and DOU operation codes. They have:
>
>
>   Do {
>     //  insert code to run here;
>
>   }  while ( x != NULL)
>
>
> So what they're talking about is that a programmer can easily miss the
> fact that the above code is a DO/WHILE loop instead of a do loop.
> Actually this translates to a DO UNTIL (DOU) in RPG.
In C you can also code:
while (condition)
{
        do you stuff...
}
which is the equivalent of RPG's DO WHILE (DOW).  In my experience this
type of while statement is more common.
James Rich
james@eaerich.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.