Is it necessary to var scope loop variables in CFScript?
- by Mel
When using CFML and CF9 I usually var scope my loop variables; in this case local.i, for example:
<cfloop list="#this.list#" index="local.i">
<cfif Len(local.i) GT 10>
// do something
</cfif>
</cfloop>
I recently started converting some stuff into CFScript, and (to my disappointment I found out that there is no…