Term of the Moment

AI video generator


Look Up Another Term


Definition: continue


A programming statement that points to the beginning of the loop that it is in. In the following C example, the continue statements point to the top of the while loop. The } brace at the end of the loop also points to the top of the loop.

   while (1)
   {
   get_next_input();
   if (end_of_file) 
        exit_routine();
   if (type=='1') 
       {
       process1_routine();
       continue;
       }
   else if (type=='2')
       {
       process2_routine();
       continue;
       }
   else display_type_error()
   }