•  Back 
  •  C Language 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : C-Language Documentation
Author      : John Kormylo
Version     : C.HYP 1.0
Subject     : Documentation/C-Language
Nodes       : 233
Index Size  : 6362
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ continue ]

When 'continue' is encountered in a for, while or do-while loop,
the execution returns to the beginning of the loop for the next
iteration, ignoring the remaining code in the loop.

  for(i=0; i<100; i++) {
    ...
    if( array[i] == 0 ) continue;
    x = a / array[i];
    ...
   }

is equivalent to

  for(i=0; i<100; i++) {
    ...
    if( array[i] != 0 ) {
      x = a / array[i];
      ...
     }
   }