And what of variables that aren't prefixed with var in a cfc? Does that mean that their memory allocation persists? if so, for how long?
BTW That was a good idea to create a local structure and store all your local var variables there... good one. > Also, aren't they "deleted" after the function runs? Meaning that they > no longer take up that memory allocation? > > -----Original Message----- > From: Dave Watts [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 12, 2007 11:50 AM > To: CF-Talk > Subject: RE: var keyword in cfcs ... needed for query names? > > > What was the reason for doing this again... to prevent race > > conditions? > > You declare local variables in a function so that they don't clobber > any variables with the same names in the script that calls the > function. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber vendor-authorized > instruction at our training centers in Washington DC, Atlanta, Chicago, > Baltimore, Northern Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more information! > > This email has been processed by SmoothZap - www.smoothwall.net > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280816 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

