Page 23 - Looping by Johannes Alexander
P. 23

Continue







                        sometimes  you  may  want  to


                        skip the current loop in the loop


                        and  not  terminate  the  loop



                        itself







                        You  can  use  the  continue


                        statement  to  skip  the  current


                        loop in the loop







                                  that  is,  the  remainder  of  the


                                  loop  is  skipped  to  the  end  of


                                  the  loop.  However  this  doesn't


                                  end the loop


                                  when  the  program  reaches  the


                                  end of the loop it will again test


                                  the loop continuation condition
   18   19   20   21   22   23   24   25   26