--- "Paul Johnston" <[EMAIL PROTECTED]> wrote:
> > 
> > Ok... So effectively it is a private property of the object 
> > (ie one that can't be retrieved by referencing the 
> > object.variable_name)?

Yes. As such, the 'unnamed' scope lets you get some way towards 
implementing 'proper' OO encapsulation.

> And to scope it locally to a function, you have to set it with var
> <variable_name>?

Yes.

> To me that seems the wrong way round... (sorry MACR), but surely,
> you want
> the default setting of a set variable to be scoped locally (ie 
> within the
> function), not across the whole component...?

I suspect that's been debated before and is just about to be debated 
again :-)

Andy.

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to