<cfloop array="#users#" index="user">
</cfloop>
<cfloop collection="#users#" item="i">
<cfset user = users[i] />
</cfloop>
<cfloop query="users">
<!--- convert the row into a struct in order to access all the user's data in a single collection --->
<cfset user = {} />
<cfloop list="#users.columnList#" index="i">
<cfset user[i] = users[i][currentRow] />
</cfloop>
</cfloop>
I really wish I could do...
<cfloop collection="#users#" index="user">
</cfloop>
<cfloop query="#users#" index="user">
</cfloop>
... but that might make too much sense.
Seriously, someone just needs to take all the nice parts of ColdFusion and re-write the damn language. It would make me so much happier. Also, don't get me started on the lack of #'s in cfloop query.