Why do FOR/NEXT variables end up +1 more?
#13
The easiest way to exit ON a number is just with a simple DO loop.


start = 10
finish = 20
increment = +1
DO
    'Whatever you want to repeat
    start = start + increment
    'Post increment work stuff, if desired
LOOP UNTIL start >= finish
Reply


Messages In This Thread
RE: Why do FOR/NEXT variables end up +1 more? - by SMcNeill - 08-26-2023, 12:57 AM



Users browsing this thread: 3 Guest(s)