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: Fri Jan 21 18:06:25 2011 GMT(c)2011 RadGs Software