Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Creating arrays

Explorer ,
Jun 16, 2012 Jun 16, 2012
TOPICS
Documentation
396
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 16, 2012 Jun 16, 2012
LATEST

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">

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources