1<cfscript>
2 for ( key in myStruct ) {
3 writeOutput( '#key#: #myStruct[key]#<br>' );
4 }
5</cfscript>
6
1<cfscript>
2 for ( item in myArray ) {
3 writeOutput( #item# & '<br>' );
4 }
5</cfscript>
6
1<cfset myList = 'Jeff,John,Steve,Julliane'>
2<cfloop list="#myList#" index="item">
3 #item#<br>
4</cfloop>
5