Eh? I have a method, privtest, marked private. My CFCs init method returns
this. In the Thing I get back, I can call Test(), which itself called
privtest, and this works fine. I wouldn't expect to be able to call
privtest() on Thing directly, of course, but it works just fine when called
from a public method.


You misunderstand. Create a private method name foo. Now create a public method named bar. Inside of bar, call foo using this.foo. It won't work because this is not a reference to itself. It is just a scope.

-Matt

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to