This sounds great, but isn't the args variable has its own scope too? It is variables scope, isn't it? Since it declares locally in the function, I am not sure if its scope is variables, but it has a scope of something. So if you have scope everything, you would have to do variables.args.MaxCount, right?
Johnny ><cffunction name = "something"> > <cfargument name="MaxCount" required="true" type="numeric" /> > <cfset var args = arguments /> > <cfset var local = structNew() /> > > <cfloop from="1" to="#args.MaxCount#" index="local.Cnt"> > <cfoutput>#local.Cnt#<br></cfoutput> > </cfloop> > ></cffunction> > > >It's a simple example but it's very clear where all the values came from and >how each should be used. > >Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200185 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

