NO!!!!! - Var is local to the specific invocation of a method - This is global to the instance, and available to things outside the CFC - variables is global to the instance, and NOT available to things outside the CFC
You were right on variables, but not the other two. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Nolan Erck > Sent: Thursday, March 11, 2004 4:04 PM > To: [EMAIL PROTECTED] > Subject: [CFCDev] scope reality check > > Can somebody just double-check me really fast here? > > Inside a CFC... > > the "var" scope and the "this" scope are equal, and both mean > "local to the function/method". Correct? > > is the Variables scope "private" for the entire CFC? But not > accessible from the calling template? > > Is that all correct? Thanks. > > Going cross-eyed, > Nolan > > > ---------------------------------------------------------- > 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] > ---------------------------------------------------------- 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]