I would just LOVE to see by how much. 000000000000000000000000001
;) Anthony Petruzzi Webmaster 954-321-4703 [EMAIL PROTECTED] http://www.sheriff.org -----Original Message----- From: Nate Nielsen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 12:20 PM To: CF-Talk Subject: Re: unscoped variables An interesting thing that many developers overlook, or just don't know - is that there is actually a performance increase in SETTING your "variables" scope variables as well as reading them. We all know that #variables.myVar# is faster than #myVar# - It is slight, but yes - using <cfset variables.myVar = "foo"> is faster than <cfset myVar = "foo"> =) Nate Nielsen [EMAIL PROTECTED] ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 10:36 AM Subject: RE: unscoped variables > I thought the variables scope was local to an individual page. These > variables (set unscoped in application.cfm) are used throughout the entire > application. That's why I asked. > > > > > Tony_Petruzzi@s > heriff.org To: CF-Talk <[EMAIL PROTECTED]> > cc: > 06/04/2002 Subject: RE: unscoped variables > 10:24 AM > Please respond > to cf-talk > > > > > > > all unscoped variables are part of the variables scoped. > > <cfset temp = "testing"> > <cfoutput>#temp#</cfoutput> > > is also > > <cfoutput>#variables.temp#</cfoutput> > > this happens no matter what page it is set on, includeing the > application.cfm. if you want a variables to be in the appliction scope, you > have to deliberatly set it there: > > <cfset application.temp = "testing"> > <cfoutput>#application.temp#</cfoutput> > > Anthony Petruzzi > Webmaster > 954-321-4703 > [EMAIL PROTECTED] > http://www.sheriff.org > > > -----Original Message----- > From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 04, 2002 11:12 AM > To: CF-Talk > Subject: Re: unscoped variables > > > If they are created in the Application.cfm page, they are application > variables (application.whatever) > > Paul Giesenhagen > QuillDesign > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Tuesday, June 04, 2002 10:04 AM > Subject: unscoped variables > > > > I'm trying to clean up some code on an old application. If there are > > currently unscoped variables defined using cfset on an application.cfm > page, > > what scope are these created in? > > > > Thanks! > > > > > > > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists