Breaking out of several nested l

decot decot at hpdsa.UUCP
Mon Oct 29 18:14:00 AEST 1984


If you have several nested loops, put the one you want out of (and everything
within) into a new function, and use "return" to get out.  It will probably
be clearer to the reader, too.

Dave Decot  hpda!decot



More information about the Comp.lang.c mailing list