Breaking out of several nested loops (& ANSI C)

PAD Powell padpowell at wateng.UUCP
Tue Oct 9 13:31:15 AEST 1984


I love the idea of labelled loops.

Just make sure that you support "break <label>;" and "continue <label>".

Just to make life really simple, PROHIBIT multiple labels with the same
name in a procedure body.  Should cause no problems, should make
LINT a joy to use, as you would not get "warning: label redefinition..."
messages.

Patrick Powell



More information about the Comp.lang.c mailing list