I have the following code where I want to read data from a 2D array:

<CFLOOP INDEX="x" FROM="1" TO="#ArrayLen(addresses)#">
        <CFOUTPUT>#addresses[#x#][1]#</CFOUTPUT>  
</CFLOOP>

I get the following error when I run the code:
_____________________________________________________________________

Just in time compilation error

Invalid parser construct found on line 33 at position 24. ColdFusion was
looking at the following text:

 x

 Invalid expression format. The usual cause is an error in the
expression structure.
______________________________________________________________________

It looks as though it's trying to evaluate "addresses[x][1]" and not
"addresses[1][1]" etc. But I have the x in the pound signs.  What's
wrong with this and how can I fix it?

-Jeff Bearer
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to