home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.arch
- Path: sparky!uunet!cis.ohio-state.edu!news.sei.cmu.edu!firth
- From: firth@sei.cmu.edu (Robert Firth)
- Subject: Re: A challenge to the anti-goto
- Message-ID: <1992Nov5.145032.6678@sei.cmu.edu>
- Organization: Software Engineering Institute
- References: <Bwznzx.Dr1@mentor.cc.purdue.edu> <Bx0BuG.s4@mentor.cc.purdue.edu> <1cvoctINNmhs@agate.berkeley.edu>
- Date: Thu, 5 Nov 1992 14:50:32 GMT
- Lines: 12
-
- In article <1cvoctINNmhs@agate.berkeley.edu> jhauser@pine.CS.Berkeley.EDU (John Hauser) writes:
-
- >In any event, all of this sort of begs the question:
- >
- > If we've known about this problem for twenty years, why don't we
- > have more powerful `break' instructions in our existing languages??
-
- We do. Exactly the construct you require is found in Ada, as described in
- the Language Reference Manual, Sect 5.7 "Exit Statements".
-
- My question: if we have had the *solution* to this problem for ten years,
- why don't more people know about it and use it?
-