While I strongly urge folks to not use the This scope, I would _not_
call it a bug. The This scope works _exactly_ as advertised, it's just
not the preferred way of storing data for a CFC.

-Raymond Camen

> 
> Let me point out the scope bug...
> 
> using "this" scope exposes your data members outside of the 
> cfc. In addition, the varibales scope is not the default for 
> not providing a scope within a CFC. There is something known 
> as the "unknown" scope. This unknown scope allows data 
> members to be available to functions within the CFC... not outside of.
> 
> this.someVar would be accessible inside and outside of the 
> CFC someVar would be accessible inside the CFC to the functions only.
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to