[ExM Users] 'break' statement?

Timothy Stitt (TGAC) Timothy.Stitt at tgac.ac.uk
Tue Mar 17 11:32:11 CDT 2015


Hi all,

I was just wondering if there is 'break' statement in Swift 'for' and possibly 'foreach' constructs?

I have a potential use case that would benefit from this although it probably doesn't take too much overhead right now to go through the entire array looking for a particular item rather than breaking when the item is found.

Just wondered in case I missed it in the documentation.

Tim.

---

Timothy Stitt PhD / Head of Scientific Computing

The Genome Analysis Centre (TGAC)

http://www.tgac.ac.uk/


p: +44 1603 450378

e: timothy.stitt at tgac.ac.uk<mailto:timothy.stitt at tgac.ac.uk>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20150317/4235fed8/attachment.html>


More information about the ExM-user mailing list