>Hi George --
>>
>>You've pretty much touched on my point. FOR...ENDFOR for a fixed number of iterations. DO WHILE if it's conditional. (I still want a true post-test iteration structure.)
>
>
>Maybe I just ramble too much, huh <g>?
>
>Also, DO WHILE has no intrinsic logic to change states and FOR..ENDFOR does which means that FOR..ENDFOR will always be more compact (and maybe faster?) than DO..ENDDO where iterations are known or can be determined, right?
I think (key word there) you're right. My point, however, was simply that comparing a FOR...ENDFOR against a DO WHILE to do the same number of iterations is (in my view) an unfair, and perhaps inaccurate, comparison. They're usually used for different purposes. When another logical condition must be evaluated to prematurely exit a FOR, the evaluation of that condition should be taken into account.
George
Ubi caritas et amor, deus ibi est