This works too. <cfset myarray = arraynew(2) />
<cfloop from=1 to=1500 index=i > <cfset myarray[i][1] = "a#i#" /> <cfset myarray[i][2] = "test xxxxxxxxxx" /> <cfset myarray[i][3] = "text xxxxxxxxxx" /> <cfdump var="#myarray[i]#" /> </cfloop> Any chance this is an out-by-one error? BTW I'm just updating to ud3 WG -----Original Message----- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 13:24 To: CF-Talk Subject: Re: (CFMX) Array Max size? Did you try to access each array element on each loop iteration? > <cfset myarray = arraynew(2) /> > > <cfloop from=1 to=1500 index=i > > > <cfset myarray[i][1] = "index#i#" /> > <cfset myarray[i][2] = "test xxxxxxxxxx" /> > <cfset myarray[i][3] = "text xxxxxxxxxx" /> > > </cfloop> > > this works fine for me. > > WG > > -----Original Message----- > From: Michael Dinowitz [mailto:[EMAIL PROTECTED] > Sent: 24 March 2003 13:11 > To: CF-Talk > Subject: (CFMX) Array Max size? > > > I've got a 2 dimensional array (well, it's actually someone else's) and when > I > run it I get this error message: > The system has attempted to use an undefined value, which usually indicates > a > programming error, either in your code or some system code. > Null Pointers are another name for undefined values. > > I've traced the problem to the array itself. When there are 89 entries in > it, no > problem. Once a 90th entry is added, it chokes. > The 89th entry looks like this (in CFSCRIPT): > langs[89][1] = "F"; langs[89][2] = "es-bo"; langs[89][3] = "Spanish > (Bolivia)"; > If I cut out every entry over 89, no problem. If I add a 90th entry, even as > a > duplicate of 89, I get the error. > Can someone else please test out their CFMX system for this? Just a simple 2 > dimensional array with 3 items per row. See what the max is for you. I'm > using > UD3. > Thanks > > Michael Dinowitz > Master of the House of Fusion > http://www.houseoffusion.com > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4