Just an FYI, unlike the "real" Variables scope in a page which you can
inspect in CFMX (ie, treat it like a struct), the local scope in a CFC,
or private scope, or whatever term you want to use (I better watch my
terms), is NOT something you can examine. If you need to create dynamic
variables in a CFC that are not in the This scope, use a substructure:

<cfset myData = structNew()>
<cfset myData[somekey] = someval>
Etc.

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Macromedia

Email    : [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Todd [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, July 10, 2002 8:11 PM
> To: CF-Talk
> Subject: RE: Component Calls: What would you do?
> 
> 
> I see... !
> 
> At 07:09 PM 7/10/2002 -0400, you wrote:
> > > At 05:23 PM 7/10/2002 -0400, you wrote:
> > > >You should look into CFC properties some - they are an 
> interesting
> > > >concept and add an extra layer of functionality to your 
> CFCs. What's
> > > >interesting is that you can have both 'private' and public
> > > (This) data
> > > >in your CFCs.
> > >
> > > via CFProperty?
> >
> >No. To make a long topic kind of short....
> >
> >Any variable set in the 'Variables' (unscoped) scope will be private.
> >Any variable set in the This scope can be seen on the outside.
> >If you create an instance of a CFC and do mycfc.foo = 1, foo 
> is in the
> >This scope automatically.
> >
> >=============================================================
> ==========
> >Raymond Camden, ColdFusion Jedi Master for Macromedia
> >
> >Email    : [EMAIL PROTECTED]
> >Yahoo IM : morpheus
> >
> >"My ally is the Force, and a powerful ally it is." - Yoda
> >
> >
> >
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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

Reply via email to