Re: loop do .. until end loop is surely incorrect!

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu