Reply to post: Re: Do...While

In Rust We Trust: Stob gets behind the latest language craze

Anonymous Coward
Anonymous Coward

Re: Do...While

I seem to recall, years ago when BBC Micros ruled the world, there was a version of BASIC that had a single LOOP...REPEAT construct to which you could add an optional WHILE or UNTIL on either the LOOP or the REPEAT statement. This struck me at the time as eminently sensible and I've wondered why more languages don't have something similar.

[Edit: and possibly a FOR construct on either end as well.]

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon