Local variables use either the ''variables'' scope or the ''request'' scope.
<CFSET variables.FName="sam"> <CFSET request.FName="sam"> The variables scope is truly, absolutely local. The request scope is handy because the variable is still local, but persists down into custom tags or modules that you may call within the same template. ----------------------------------------- Matt Robertson [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com ----------------------------------------- ----- Original Message ----- From: "sam komolafe" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, October 30, 2001 8:37 PM Subject: Naming Convention Hi guys, Which is the better or acceptable way of naming a LOCAL variable: 1. <cfset Fname = "Sam"> 2. <cfset Names.Fname = "Sam"> Coldfusion did not create a structure for item #2, and I can still reference it using #variables.Names.Fname#. Can you point to a link/site on CF name coventions Thanks SAm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

