2 Replies Latest reply on Sep 1, 2011 12:43 AM by Claudiu Ursica

    Is there a concept of Next in a AS3 for loop

    majester8425 Level 1

      I am trying to process items in an array using a for loop and when a certain action is hit

      go to the next row in the loop and do not continue with the current row any longer

       

      E.G

       

      for (var i:int; i++; i<100)

      {

           if (something)

           {

                next; // Process the next row do not proceed any further in this for loop;

           }

       

           if (somethingelse)

           {

           }

      }