On 7/5/05, Barney Boisvert <[EMAIL PROTECTED]> wrote:
> I think the compiler will puke on that, because 'var' is a reserved word.....
Nope. Perfectly legal code. Confusing (IMO), but legal.
The following test case runs on my localhost install:
<cffunction name="test">
<cfset var var = structNew() />
<cfset var.x = 1 />
<cfdump label="var" var="#var#"/>
</cffunction>
<cfset test() />
--
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!
"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 words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]