RE: [sv-bc] scope of break/continue within foreach loop

From: Steven Sharp <sharp@cadence.com>
Date: Wed Jun 02 2010 - 17:54:09 PDT

>I agree 'break' should exit the foreach loop. But 'continue' should goto
>the next iteration of the inner loop;

Agreed. A 'continue' jumps to the end of the loop body, which means it
goes to the next iteration of the inner loop.

Steven Sharp | Architect | Cadence

P: 508.459.1436 M: 774.535.4149 www.cadence.com

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Jun 2 17:54:39 2010

This archive was generated by hypermail 2.1.8 : Wed Jun 02 2010 - 17:57:28 PDT