I've been using lscope (localscope) seemed logical at the time... WG
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dan G. Switzer, II Sent: 27 March 2003 19:33 To: [EMAIL PROTECTED] Cc: 'Sean A Corfield' Subject: RE: [CFCDev] Sean using "this", WAS: Page context bug workaround Sean, I've been using a similar technique to the one you listed below, but I've been using the variable name "private" instead of "instance". Do you foresee a time when using the variable name "private" might cause me a problem? (i.e. Macromedia would make "private" a scope or something?) > There's no hard and fast rule here: if you want to protect your > instance data from outside interference, use something like this: > > <cfcomponent> > <cfset instance = structNew()> > <cffunction...> > ... > <cfset instance.username = ...> Thanks, Dan ---------------------------------------------------------- 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). ---------------------------------------------------------- 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).
