cfscrip for loop code example Example: cfscript loop query for (row in query) { writeOutput(query.currentrow); }