"Break" and other ways out of loops and switches

David Elliott dce at tekecs.UUCP
Thu Aug 25 00:13:52 AEST 1983


I believe that PL/I has the LEAVE statement which takes an optional
label. This would be equivalent to the 'break scan' type of
construct. This can be very useful when you are not allowed to
use GOTOs without writing a five-page paper explaining why you
needed to use a GOTO.

			David



More information about the Comp.lang.c mailing list