>FOR X = 1 TO PROMPT.CNT
>        *some code here*
>        *Back up one prompt*
>        X = X - 1 - (X # 1)
>NEXT X

One more case for looping backwards!  It amazes me how much complex
code folks have written over the years to backup after removing a
value from a list, when all the time if the loop were written to go
from the back to the front the backing up logic is completely
unnecessary.

-K
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to