Cold Fusion data Types
Submitted by Depot Kite on Fri, 2006-02-17 11:08.
There are only 3 Advanced data Types supported by Coldfusion.
1. Lists: Group together related items
2. Arrays: Store multiple values in a single variable
3. Structures: Store data within data (this is the most powerful in Coldfusion)
List Example:
<cfset fruit ="apple, orange, chicken">
Array Example: Note coldfusion does support 3d arrays
<cfset names arraynew(2)>
<cfset names[1][1]="troy">
<cfset names[1][2]="hahn">
<cfset names[2][1]="john">
<cfset names[2][2]="doe">
<cfoutput>
The first name in the array #names[1][1]# #names[1][2]#
</cfoutput>

Recent comments
1 year 20 weeks ago
2 years 42 weeks ago
3 years 15 weeks ago
3 years 15 weeks ago
3 years 19 weeks ago
3 years 20 weeks ago
3 years 20 weeks ago
3 years 22 weeks ago
3 years 35 weeks ago
3 years 35 weeks ago