That would just be a bad practice. But, you would say Variables.local.myVar for the "unscoped" (though, there was a thread on some list about there still being some issues with unscoped variables -- generally, speaking, all variables other than local variables should be declared in some scope).
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Bryan F. Hogan > Sent: Monday, October 06, 2003 11:05 AM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] Variable referencing in CFCs > > > How would you reference the un-varred local.myVar in a function that has a > var scoped local.myVar? > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Adam Wayne Lehman > Sent: Monday, October 06, 2003 2:01 PM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] Variable referencing in CFCs > > > BLOCK 1: Yes local.myVar only exists within the function. > > BLOCK 2: Yes VARIABLES.local.myVar exists globally within the component. > > BLOCK 3: In your third block of code local.myVar exists globally within > the component. (It would also _not_ overwrite or conflict with > local.myVar in your first block) > > 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] > ---------------------------------------------------------- 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]
