know what scope name the method's local scop uses. A bad example
follows:
<cffunction name="badExample" access="public" output="yes"
returntype="Collection">
<cfscript>
var i = "";
var myList = "foo,bar,fooBar";
</cfscript>
<cfloop index="i" list="myList">
<!--- "variables" is the wrong scope, so what's the correct one? --->
<cfoutput>#variables[i]#<br></cfoutput>
</cfloop>
</cffunction>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]