The function UBound(arrayname, 2) returns the greatest value from the second
dimension of the array ArrayName. The closest function in CF to this is
ArrayMax(arrayName) but that only returns the greatest value from a one
dimensional array.  You'll have to copy the values from second dimension of
your array to a separate array and then get the ArrayMax of the new array.
You might also want to check CFLib.org and see if there is a user defined
function that will deal with multi-dimensional arrays.

Jeff

-----Original Message-----
From: David Jones [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 10:19 PM
To: CF-Talk
Subject: RE: Unstructured info


This may sound like a silly question but I am having a hard time figuring
this out.

What is the CF equivalent to the VBScript UBound(arrayName,2)? I have been
all through the docs and cant find it.

Thanks,

Dave


______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to