vefatica May 12,957 172 Oct 30, 2020 #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 4,979 128 Staff member Oct 30, 2020 #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,074 195 Staff member May 16, 2021 #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.