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