vefatica May 13,745 209 2020-10-30 #1 That leads to a never-ending do loop. I know it's a dumb thing to do, but this will do the same thing if DELTA is not defined: Code: do i=1 to 10 by %delta and that's a little less dumb. Perhaps there could be a check for the increment being 0.
That leads to a never-ending do loop. I know it's a dumb thing to do, but this will do the same thing if DELTA is not defined: Code: do i=1 to 10 by %delta and that's a little less dumb. Perhaps there could be a check for the increment being 0.
Charles Dye Super Moderator May 5,361 163 Staff member 2020-10-30 #2 I've done that a time or two myself, usually as I=0 to 1 BY 0. It's an easy way to create an infinite loop at the command line.
I've done that a time or two myself, usually as I=0 to 1 BY 0. It's an easy way to create an infinite loop at the command line.
rconn Administrator May 13,647 253 Staff member 2021-05-16 #3 I suspect this would be a breaking change, as I know some people modify %delta on the fly inside their loop.
I suspect this would be a breaking change, as I know some people modify %delta on the fly inside their loop.