cfcontinue

Used within a cfloop tag. Skips processing the remainder of the loop interation, 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,


Fork me on GitHub