Re: OT: The REAL RIddle of DO LOOPS Solved




Reef Fish wrote:

But if the explicit statement is allowed, the the IMPLIED
step should be obvious ( minus 1 as default) if the second argument
is less than the first. That is,

FOR Q = 0 TO -1

should mean the same as

FOR Q = 0 TO -1 STEP -1

Nonsens. The default implicit stepsize should always be 1.
You don't want that to be up to some arbitrary convention.
So a loop from 0 to -1 without explicit stepsize should be
skipped.

.