Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!SOPHIST.UCHICAGO.EDU!goer From: goer@SOPHIST.UCHICAGO.EDU (Richard Goerwitz) Newsgroups: comp.lang.icon Subject: break, goto Message-ID: <9007222209.AA00920@sophist.uchicago.edu> Date: 22 Jul 90 22:09:21 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 15 Having break act as a control structure has helped me avoid a helluva lot of kludgy constructions (which in C would normally be uncluttered with a goto). E.g. I occasionally have reason to write every i := 1 to 2 do { every j := 1 to 10 do { i+j = 5 & {break next} } } Naturally, there are ways to code this without using the break. It's a nice bit of sugar, though, isn't it? -Richard L. Goerwitz goer%sophist@uchicago.bitnet goer@sophist.uchicago.edu rutgers!oddjob!gide!sophist!goer