<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Loops on dev.endevour</title><link>https://devendevour.iankulin.com/tags/loops/</link><description>Recent content in Loops on dev.endevour</description><generator>Hugo</generator><language>en-AU</language><lastBuildDate>Sun, 21 Aug 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://devendevour.iankulin.com/tags/loops/index.xml" rel="self" type="application/rss+xml"/><item><title>Named Loops</title><link>https://devendevour.iankulin.com/named-loops/</link><pubDate>Sun, 21 Aug 2022 00:00:00 +0000</pubDate><guid>https://devendevour.iankulin.com/named-loops/</guid><description>&lt;p&gt;&lt;img src="https://devendevour.iankulin.com/images/img_2768.png" alt="" class="img-responsive"&gt; &lt;/p&gt;
&lt;p&gt;Here’s a neat thing I haven’t seen before. Other languages I’ve worked in haven’t had a neat way to break out of a set of nested loops to a particular loop. It’s not an issue that comes up a lot, but when it has I’ve solved it by creating a continue flag and having that as the first condition of each loop.&lt;/p&gt;
&lt;p&gt;To explain, say if we had these two loops (in C):&lt;/p&gt;</description></item></channel></rss>