RE: array length of a dimension?

2001-01-25 Thread Rick Lamb
Cool. Thank you all! Rick -Original Message- From: Christoph Schmitz [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 4:25 PM To: CF-Talk Subject: AW: array length of a dimension? Hi, ArrayLen(MyArray) gives you the length of the first dimension. ArrayLen(MyArray[1]) will r

Re: array length of a dimension?

2001-01-25 Thread Scott Weikert
Well I'd imagine array = arrayNew(2) DimLength = arrayLen(array) would get you the length of the FIRST dimension... so if you loop on the first dimension of an array and do "Dim2Length = arraylen(array[loopindex])" (if that works *grin*), that would get you the length of each of the second dime

RE: array length of a dimension?

2001-01-25 Thread Christopher Olive, CIO
it doesn't really have a "length" for a whole 2D array. more of an area. or do you want the lengths of all the subarrays? chris olive, cio cresco technologies [EMAIL PROTECTED] http://www.crescotech.com -Original Message- From: Rick Lamb [mailto:[EMAIL PROTECTED]] Sent: Thursday, Janu

RE: array length of a dimension?

2001-01-25 Thread Rick Lamb
never mind. i figured it out while i was waiting for my post to show up. turns out i had a combination of little problems. once i got those fixed, arraylen worked fine. rick -Original Message- From: Rick Lamb [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 1:20 PM To: CF-Talk

RE: array length of a dimension?

2001-01-25 Thread Raymond B.
CF doesn't have fixed dimension arrays like some other languages. So the best you can do is find the length of the first dimension, then you have to do each index individually to find the exact length of all the items in the second dimension. -Original Message- From: Rick Lamb [mailto:[E

RE: array length of a dimension?

2001-01-25 Thread Phoeun Pha
#arraylen(myarray)# 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 techn