> > Furthermore, you want to use the unnamed scope for > > your instance data > > (and this seems to be a popular idiom): > > > > <!--- person.cfc ---> > > <cfcomponent> > > <!--- create a single 'handle' for your > > instance data: ---> > > <cfset instance = structNew()> > > What does: > <cfset instance = structNew()> > > do for your component?
If called from within one of the component's functions, it would overwrite the structure "instance" with a new, empty structure, so all of the keys within the original structure would be lost. It can't be called outside of the component, since it's not exposed as a public member variable. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

