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

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

Heh, when I took a comp sci class a few years ago, I had a "while 1 do" in either a bash script or a java program. I don't remember which because I don't remember which class it was. Did I mention that it was awhile ago?

Regardless, I got marked down for it, the instructor thought that it was bad form. I disagreed - it was part of an input loop.

Apropos of nothing. I'm pretty neutral on "with entry". I do agree that the specific example is better "with entry" rather than "while 1 do".

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

Search



Quick Links

User menu

Not signed in.

Misc Menu