Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 exptools 1/6/84; site ihuxs.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!ihnp4!ihuxs!tischler
From: tischler@ihuxs.UUCP (Mark D. Tischler)
Newsgroups: net.lang.c
Subject: Breaking out of several nested loops
Message-ID: <631@ihuxs.UUCP>
Date: Tue, 2-Oct-84 12:54:07 EDT
Article-I.D.: ihuxs.631
Posted: Tue Oct  2 12:54:07 1984
Date-Received: Wed, 3-Oct-84 19:58:07 EDT
Organization: AT&T Bell Labs, Naperville, IL
Lines: 31

A while ago, someone told me that they
thought it was possible to break out of
several nested loops at once using a
statement like "break 3".  It would,
for example, break out of the following
sequence:

	i = 1;
	while
	   .
	   .
	   for
	      .
	      .
	      switch
		 .
		 .
		 break;
	i = 2;

It doesn't seem to work, and I was wondering
if perhaps someone knew of a way to do
that without having to set 3 separate
boolean flags?  Please send mail to
me.  Thanks.
-- 

				Mark Tischler
				(312) 420-7272 (home)
				(312) 979-2626 (work)
				ihnp4!ihuxs!tischler