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