You have to put your var declarations after your cfargument tags, and before everything else in the function. That's just "the way it is".
-- Josh ----- Original Message ----- From: "Chad Gray" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Wednesday, August 01, 2007 8:27 AM Subject: CF error >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. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285066 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

