Posted by Anonymous on Mon 8 Oct 20:45 (modification of post by Anonymous view diff)
report abuse | download | new post
- <cffunction name="varScoperBug" access="public" returntype="void" output="false">
- <cfscript>
- var local = structNew();
- local.contactNames = listToArray("a,b,c");
- </cfscript>
- <cfloop from="1" to="#arrayLen(local.contactNames)#" index="local.i">
- <cfset local.contactName = local.contactNames[local.i] />
- </cfloop>
- </cffunction>
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.