Perhaps the tag only works on 1-D arrays. (I don't have access to a CF
server at the moment, so I can't check.) But as I look at the tag I
don't see how it could handle arrays of dim>1.
If that's the case, for an N-Dim array, you'd have call the tag from with
N-1 loops. For your array, that'd be:
<cfloop from="1" to="#ArrayLen(monthArray[1])#" index="counter">
<cf_objectdump object="#monthArray[counter]#">
</cfloop>
-David
On Tue, 14 Nov 2000 21:53:52 -0500 "Jon Hall" <[EMAIL PROTECTED]>
writes:
> Thanks for all of the help everyone, I downloaded the tag and it
> worked
> wonderfully...until Kaboom! this happened.
>
> An error occurred while evaluating the expression:
>
> "#LocalObject[Index]#"
>
> Error near line 217, column 41.
> The element at position 1 in dimension 1 of object "LocalObject"
> cannot be
> found. The object has elements in positions 1 through 10. Please,
> modify the
> index expression.
>
> Here is the array I am trying to output...shouldn't be a problem as
> I know
> the array is fine.
>
> <cfscript>
> monthArray = ArrayNew(2);
> rs = Arrayresize(monthArray,total_days_in_month);
> </cfscript>
>
> <CFLOOP FROM="1" TO="#total_days_in_month#" INDEX="Counter">
> <cfoutput>
> <cfset monthArray[counter][10] = counter>
> </cfoutput>
> </cfloop>
________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk! For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]