C 'break' command - a query - (nf)
ka at spanky.UUCP
ka at spanky.UUCP
Sat Aug 27 12:19:16 AEST 1983
For the record, the multi-level break statement in Bliss does use
labels (just like Ada and PL/1). The reason Ratfor and the shell
use a count of the number of levels to break is probably to simplify
the implementation by avoiding the need for a symbol table. This
seems reasonable; I don't recall *ever* seeing a multi-level break
or continue used in shell code. Certainly this is not a frequently
used construct.
Kenneth Almquist
More information about the Comp.lang.c
mailing list