Re: loop do .. until end loop is surely incorrect!
- Posted by ArthurCrump Feb 24, 2011
- 2086 views
A minor point:
Since the until statment is part of the loop construct, surely it should be lined up with the loop do and end loop and not indented to line up with the statement block inside the loop. For example:
loop do statement block ... until x = 1000000000 end loop
This may make it more obvious that any variables mentioned in the until statement belong in the outer block and not in the statement block within the loop construct.
Just a suggestion. Feel free to disagree.
Arthur