<cfset foo.1 ="rar">
<cfoutput>#foo.1#</cfoutput>

The same code breaks CF5.  It's cool that it works on CFMX.  I haven't had a
chance to use MX yet, but it sounds like the parser is a little more
forgiving.
  
Thanks for the correct syntax (and also from the earlier post from Raymond)!

-----Original Message-----
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 7:41 AM
To: CF-Talk
Subject: RE: Using array syntax with a query


> The
> variable foo.1 is illegal in ColdFusion. 

<cfset foo.1 ="rar">
<cfoutput>#foo.1#</cfoutput>

Works fine here on MX.

The syntax you want is like qQuery.columname[index] i.e. qList.1[1]

Thomas Chiverton




______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to