N nate100 Member Aug 18, 2010 #1 I need to do a DO loop but interative down. Meaning if value is say 50, I need to then go down: 50 49 48 .. I essentially need to do the opposite of how the following works: do i = 1 to 50: display i. end.
I need to do a DO loop but interative down. Meaning if value is say 50, I need to then go down: 50 49 48 .. I essentially need to do the opposite of how the following works: do i = 1 to 50: display i. end.
M mosfin Member Aug 18, 2010 #3 DO..END is faster as in doesn't implies TRANSACTION (as far as i remember) do i=50 to 1 by -1: display i. end.
DO..END is faster as in doesn't implies TRANSACTION (as far as i remember) do i=50 to 1 by -1: display i. end.