Just like var in script statements have to be 'on top', the same applies to var scoped variables in CFFUNCTION style UDFs. Simply place them after your <cfargument> tags and before any line of 'real' code.
======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Rich Z [mailto:[EMAIL PROTECTED] > Sent: Saturday, August 02, 2003 7:00 AM > To: CF-Talk > Subject: CFFUNCTION and VAR's > > > I understand the importance of VARing variables created for > function purposes - but I'm not getting where they belong in > the grand scheme of things. I'm fine w/ the UDF/cfscript > style, it's the tag-based CFFUNCTION style that's tripping me up. > > Does it belong before or after CFARGUMENT's? Can they be > created in the middle of the function code somewhere? > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

