Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!gummo!whuxlb!pyuxll!eisx!npoiv!npois!hogpc!houxm!ihnp4!ixn5c!inuxc!pur-ee!uiucdcs!uicsl!preece From: preece@uicsl.UUCP Newsgroups: net.lang.c Subject: Re: Breaking out of labeled statements - (nf) Message-ID: <2672@uiucdcs.UUCP> Date: Tue, 30-Aug-83 22:37:59 EDT Article-I.D.: uiucdcs.2672 Posted: Tue Aug 30 22:37:59 1983 Date-Received: Thu, 1-Sep-83 01:06:54 EDT Lines: 18 #R:ulysses:-57000:uicsl:6400006:000:701 uicsl!preece Aug 30 11:13:00 1983 The SAIL language allows the BEGIN and END 'statements' to be followed by string constants. Those constants are then matched by the compiler, making missed delimiters very easy to identify and fix, and can be used in break and continue statements. Another thing that would be very useful in case statements would be a 'recase' verb, which would restart the enclosing switch (i guess in C it would be 'reswitch'). It is often useful to be able to recognize some cases as only minor variants of others, and process them by using a prologue for one variant followed by the existing case treatment shared between them. A reswitch verb would make this trivial. scott preece pur-ee!uiucdcs!uicsl!preece