cfcontinue

Used within a cfloop tag. Skips processing the remainder of the loop iteration, and continues on to the next iteration.

  <cfcontinue>

 continue;

Examples
Sample code using the cfcontinue tag

qry = queryNew('ID,Name','integer,varchar',[{
	id: 0,
	name: 'hello'
},{},{
	id: 1,
	name: 'world'
}]);
for(row in qry) {
	if(row.ID is '') {
		continue;
	}
	writeOutput(row.ID&'.: '&row.name&', ');
}

Expected Result: 0.: hello, 1.: world,

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub