home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / arch / 10413 < prev    next >
Encoding:
Text File  |  1992-11-04  |  963 b   |  23 lines

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