title: Giving name to a loop
body: <p>While browsing questions and answers in this forum i found a piece of code were names were given to loops in order to use them for break. Like </p>
  
  <pre><code>nameofloop:
      for(){
          for(){
               if(){ break nameofloop;}
          }
      }
  </code></pre>
  
  <p>Im new to programming and i havent seen that before. My question is what other uses of naming loops are there?</p>