title: How do I go to next element in a loop in RPGLE?
body: <p>Let's say you have the following code:</p>
  
  <pre><code>FOR I = 1 to 10;
    // some code here
  ENDFOR;
  </code></pre>
  
  <p>How would you skip over an element?
  Currently using <code>GOTO</code> works, but I do not like that solution. For example:</p>
  
  <pre><code>   FOR I = 1 to 10;
       IF I = 4;
  C                   GOTO      NEXTONE
       ENDIF;
  
       // some code here
  
  C     NEXTONE       TAG   
     ENDFOR;
  </code></pre>