Re: ArrayInsertAt Question

2005-02-09 Thread Charles Heizer
So, then does ArrayInsertAt not support multi-dimensional arrays? - Charles On Feb 8, 2005, at 2:38 PM, Larry White wrote: You're just supposed to name the array you want to insert at, not the specific element: cfset ArrayInsertAt(ADListArrNew,1, #GetADListNew.name#) Not cfset

RE: ArrayInsertAt Question

2005-02-09 Thread Bryan F. Hogan
cfset myArray[1][1][1]='Test' cfset arrayInsertAt(variables.myArray[1][1], 1, 'Test2') cfdump var=#variables.myArray# -Original Message- From: Charles Heizer [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 1:06 PM To: CF-Talk Subject: Re: ArrayInsertAt Question So

Re: ArrayInsertAt Question

2005-02-09 Thread Charles Heizer
][1], 1, 'Test2') cfdump var=#variables.myArray# -Original Message- From: Charles Heizer [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 1:06 PM To: CF-Talk Subject: Re: ArrayInsertAt Question So, then does ArrayInsertAt not support multi-dimensional arrays

RE: ArrayInsertAt Question

2005-02-09 Thread Bryan F. Hogan
: ArrayInsertAt Question So if this is my array ... cfset ADListArrNew[1] [1] = John cfset ADListArrNew[2] [1] = Jeff cfset ADListArrNew[3] [1] = Jack cfset ADListArrNew[4] [1] = Jed cfset ADListArrNew[5] [1] = Jim And I want to add two names after Jack ( Sue, Kim)... cfset RowLoc=3 cfloop query

ArrayInsertAt Question

2005-02-08 Thread Charles Heizer
Hello, I'm having a problem with using ArrayInsertAt . I keep getting a Cannot insert/delete at position 1. Here is a snippet of my code --- !--- Array Insert Loop --- cfloop query=GetADListNew cfset vCurRow = RowLoc + currentrow cfset ArrayInsertAt(ADListArrNew[vCurRow],1,

Re: ArrayInsertAt Question

2005-02-08 Thread Larry White
You're just supposed to name the array you want to insert at, not the specific element: cfset ArrayInsertAt(ADListArrNew,1, #GetADListNew.name#) Not cfset ArrayInsertAt(ADListArrNew[vCurRow],1, #GetADListNew.name#) ~| Discover

ArrayInsertAt Question

2001-09-07 Thread Kevin Mansel
How would i Insert like 4 values into 2-dimensional array? Anyone had success with this? Like i have an array that contains 3 records with 4 items each. I want to insert a record in spot 2 with the 4 attributes. How can i do this? I'm stumped... ~ Kevin Mansel Senior Web