<CFSET myarray=Arraynew(2)
<CFSET myarray[1][1]= "books">
<CFSET myarray[1][2]=2>
<CFSET myarray[2][1]="candy">
<CFSET myarray[2][2]=1000>

<CFOUTPUT>
#arraylen(myarray)#
</CFOUTPUT>


which is 2


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 1:20 PM
To: CF-Talk
Subject: array length of a dimension?



I need to find the arraylen of a 2 dimensional array. Can somebody recommend
a technique to do this?

Thanks,

Rick
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to