On Monday, Oct 6, 2003, at 08:27 US/Pacific, Bryan F. Hogan wrote:
<cfset thisTest=1>
<cfoutput>#Variables.thisTest#</cfoutput>

works in regular CFML pages.

But in regular CFML pages, "thisTest=1" is shorthand for "variables.thisTest=1" whereas if you say (inside a UDF / CFC method):
<cfset var thisTest=1>
then you are creating thisTest in 'var' scope which is different to 'variables' scope.


Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

----------------------------------------------------------
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