Language documentation Contents | Index

continue, Control structures


Description:
continue is used within looping structures to skip the rest of the current loop iteration and continue execution at the beginning of the next iteration.

Example:
var i=0;

while (true) {
if (i==0)
continue; // avoid division by zero

var x=1/i;
i++;

if (i==10)
break;
}



Documented by Eduard Suica, generation time: Thu Oct 15 20:02:09 2009 GMT(c)2009 RadGs Software