but is overkill..


On 6/13/07, D F <[EMAIL PROTECTED]> wrote:
>
> 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 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280960
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to