Yes and Yes.

Rule of Thumb (knowing all rules are made to be broken): If you type "This."
in a CFC you are probably doing something wrong.



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Adam Wayne Lehman
> Sent: Monday, October 06, 2003 11:54 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [CFCDev] Variable referencing in CFCs
>
>
> <cffunction name="myCFC">
>       <cfscript>
>               VARIABLES.myVar = "false";
>               THIS.myVar = "true";
>       </cfscript>
>       <cffunction name="myMethod">
>               <cfreturn myVar>
>       </cfunction>
> </cffunction>
>
> So Nathan, are you saying that these are two separate variables? If so
> does that mean myMethod() would return false?
>
> Adam Wayne Lehman
> Web Systems Developer
> Johns Hopkins Bloomberg School of Public Health
> Distance Education Division
>

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word '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