continue

continue definition - computer

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()
   }





Computer Desktop Encyclopedia THIS DEFINITION IS FOR PERSONAL USE ONLY
All other reproduction is strictly prohibited without permission from the publisher.
Copyright © 1981-2009 by Computer Language Company Inc. All rights reserved.

Comments
Improve this definition.
Do you have more to add? Share your linguistic knowledge or observation.
/Register to save your comments.
Related Discussions (1)
TopicRepliesLatest Post
Can Luxury Watch Market Continue to Grow During the Economy Crisis?311 months ago

Browse Forums