scott <sco### [at] scottcom> wrote:
> Impossible to catch all infinite loops, but the parser could check to make
> sure at least one of the variables mentioned in the #while condition is
> reassigned within the loop. That would catch a lot of mistakes (eg
> forgetting to increment the index variable).
What if it's not incremented within the loop? Maybe it's incremented
elsewhere (eg. inside a macro called from the loop).
--
- Warp
Post a reply to this message
|