Ok, so here's something I never got.  If variables.foo is private, what is
var variables.foo?

What does var do?  When/why would you use it?

Just never was able to get that. 


--
Timothy Heald
Analyst, Architect, Developer
[EMAIL PROTECTED]
W: 202-228-8372
C: 703-300-3911
-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 30, 2006 8:16 PM
To: CF-Talk
Subject: RE: CFWDDX and Component Objects

So what are u saying, if I create this.foo = "fo fum" inside a CFC, then
this can be accessed outside of the CFC by anyone? Surely the THIS scope is
local to the object (CFC) ?



Russ

No, the variables scope is local/private to the cfc.  The THIS scope is
public.

SO with these members in a myCFC:

This.foo
Variables.bar

myCFC.foo = "junk" is allowed.
myCFC.bar = "more junk" is not.


--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any attachments is for the
sole use of the intended
recipient(s) and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If you
are not the intended recipient, please contact the sender and delete any
copies of this message. 






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236649
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to