I know this is a rare case when you're extending a CFC from another but...
it's therefore possible to "shadow" variables if each CFC has variables with the same name - the compiler doesn't know which one the code refers to? and the only way around this is good coding practices and REALLY reading the CFC's documentation (to avoid using the same names)? >> CF does not support the concept of "private" a possibility for CF7, perhaps? thanx barry.b -----Original Message----- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Monday, 3 May 2004 4:14 PM To: CFAussie Mailing List Subject: [cfaussie] Re: init vars within a cfc On May 2, 2004, at 10:40 PM, Barry Beattie wrote: > if I extend CFC "B" from CFC "A", do all of "A"s VARIABLES scope vars > become available to "B" as if they were originally in "B"? Yes. > if so, what if I don't want that - private vars in "A" (global to "A" > only, not local function scope) that should NOT be available to any CFC > that extends from it? CF does not support the concept of "private" (when it says "private" it really means "protected"). Regards, Sean --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
