Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea77859461172e0811cbec09f0b-7ff8.htm...
Copy link to clipboard
Copied
These are valid statements.
<cfset myArray = [[],[]]>
<cfset jazzmen = [["Coleman","Charlie"],["Hawkins", "Parker"]]>
This is also valid.
<cfset i="CP">
<cfset "#i#"=["Charlie","Parker"]>
But if you do this, it's invalid.
<cfset i="CP">
<cfset "#i#[1]"="Charlie">
Find more inspiration, events, and resources on the new Adobe Community
Explore Now