your var scoped variables have to be at the top of your functions. <cffunction> <cfargument>
<cfset var foo = "" /> <cfset var bar = "" /> <cfmorestuff> </cffunction> anything (except <cfargument>) above a <cfset> of a var scoped variable will throw an error. On 8/1/07, Chad Gray <[EMAIL PROTECTED]> wrote: > > I am cleaning up my CFC code adding <cfset var foo = ""> and hit this > error.... What does it mean? > > Local variable i on line 33 must be grouped at the top of the function > body. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285073 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4