0
Creating arrays
Explorer
,
/t5/coldfusion-discussions/creating-arrays/td-p/4258475
Jun 16, 2012
Jun 16, 2012
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...
TOPICS
Documentation
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Beginner
,
LATEST
/t5/coldfusion-discussions/creating-arrays/m-p/4258476#M146049
Jun 16, 2012
Jun 16, 2012
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">
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

