Re: array question

2009-12-17 Thread Ben Conner
Dang. That's also handy. Thanks, Dan! --Ben Dan Vega wrote: > You can find out the dimension of an array like so > > myArray.getDimension() > > > Thank You > Dan Vega > danv...@gmail.com > http://www.danvega.org/ > > > On Thu, Dec 17, 2009 at 11:15 AM, DURETTE, STEVEN J (ATTASIAIT) < > sd1...@

Re: array question

2009-12-17 Thread Ben Conner
Oh! That was obvious...after you answered it. :) Much appreciated! --Ben DURETTE, STEVEN J (ATTASIAIT) wrote: > Ben, > > Do an arraylen on the first row. arrayLen(myVar[1]) > > That will return the number of columns or planes. > > Steve > > > -Original Message- > From: Ben Conner [mai

Re: array question

2009-12-17 Thread Dan Vega
You can find out the dimension of an array like so myArray.getDimension() Thank You Dan Vega danv...@gmail.com http://www.danvega.org/ On Thu, Dec 17, 2009 at 11:15 AM, DURETTE, STEVEN J (ATTASIAIT) < sd1...@att.com> wrote: > > Ben, > > Do an arraylen on the first row. arrayLen(myVar[1]) >

RE: array question

2009-12-17 Thread DURETTE, STEVEN J (ATTASIAIT)
Ben, Do an arraylen on the first row. arrayLen(myVar[1]) That will return the number of columns or planes. Steve -Original Message- From: Ben Conner [mailto:b...@webworldinc.com] Sent: Thursday, December 17, 2009 11:08 AM To: cf-talk Subject: array question Hi, Haven't played muc

RE: Array Question

2004-10-11 Thread Dave Watts
> If I just try to do the ArrayDeleteAt(Session.UserCart, 3) > within an ArrayLength of 4 I get the following message: > > The element at Position 1, of Dimension 2, of an array object > used as part of an _expression_, cannot be found. > > Before I tried to delete one of the items from the car

Re: Array Question

2004-10-11 Thread Graham Pearson
If I just try to do the ArrayDeleteAt(Session.UserCart, 3) within an ArrayLength of 4 I get the following message: The element at Position 1, of Dimension 2, of an array object used as part of an _expression_, cannot be found. Before I tried to delete one of the items from the cart, I had the

Re: Array Question

2004-10-11 Thread Deanna Schneider
I think you're trying to make it too hard. CF automatically "closes up" arrays if you delete. So, all you need to do is - Original Message - From: "Graham Pearson" > > I have been trying to learn array's and have a problem that I am unable to > solve. > > I have a 2 Dimension Array that

RE: Array question

2004-10-01 Thread Pascal Peters
Come again ?? Pascal > -Original Message- > From: Kimberly Dennis [mailto:[EMAIL PROTECTED] > Sent: 01 October 2004 17:50 > To: CF-Talk > Subject: Re: Array question > > I have a question on an Array too. > > I'm setting a number to be added to the

Re: Array question

2004-10-01 Thread Kimberly Dennis
I have a question on an Array too. I'm setting a number to be added to the end of an array - only up to 100. When using an array like: Will this work when inserting data into a table? ... set bogus number = newNum Will newNum(2) replace newNum(1) when newNum(1) reaches 100? [Todays Thre

RE: Array question

2004-10-01 Thread Pascal Peters
http://www.cflib.org/udf.cfm?ID=518 http://www.cflib.org/udf.cfm?ID=390 Pascal > -Original Message- > From: Ken Dunnington [mailto:[EMAIL PROTECTED] > Sent: 01 October 2004 16:14 > To: CF-Talk > Subject: [Spam?] Array question > > I have a (probably simple) array question that I'm hoping

Re: Array question

2004-05-17 Thread Bryan F. Hogan
Use arrayClear(session.item) or just reset the array session.item=arrayNew(2)> Robert Orlini wrote: > Thank you. One more ?: How do I clear the array to start over? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Array question

2004-05-17 Thread Robert Orlini
Thank you. One more ?: How do I clear the array to start over? -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 3:50 PM To: CF-Talk Subject: Re: Array question Because arrayLen(session.item) is 0 and your looping from 1-arrayLen(session.item

Re: Array question

2004-05-17 Thread Bryan F. Hogan
Because arrayLen(session.item) is 0 and your looping from 1-arrayLen(session.item). If your just trying to add an item to the array from a form post just use the following. #arrayLen(session.item)# [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settin

RE: array question

2003-09-22 Thread Jim Davis
ArrayToList will only accept a single dimensional array, not a two dimensional array as you have it. This only makes sense: what would ArrayToList() return for multidimensional arays? I'm not sure why you're even doing this: listLen(arrayToList(session.cart)) There's really no need consider

RE: array question

2003-09-22 Thread Tony Weeg
ok for some reason i have an array, then another array that is the cart items...? hmmm gotta make it one array with items, not an array with arrays as items thanks if any help comes this way :) tw -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, Septemb

RE: array question

2002-12-05 Thread Tony Weeg
;) i did that and yes, of course, it works!! tw -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 11:01 PM To: CF-Talk Subject: RE: array question Oh and in this case, i == 1. Matt Liotta President & CEO Montara Software, Inc.

RE: array question

2002-12-05 Thread Matt Liotta
Oh and in this case, i == 1. Matt Liotta President & CEO Montara Software, Inc. http://www.montarasoftware.com/ 888-408-0900 x901 > -Original Message- > From: Matt Liotta [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 05, 2002 10:55 PM > To: CF-Talk > Subject:

RE: array question

2002-12-05 Thread Tony Weeg
matt. i need not say anymore. thanks. tony -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 10:55 PM To: CF-Talk Subject: RE: array question It should be # selectedElements[i].XmlText#. Matt Liotta President & CEO Montara Software,

RE: array question

2002-12-05 Thread Tony Weeg
10:56 PM To: CF-Talk Subject: RE: array question and yes, i have changed xmlTest to xmlText and still no dice. tw -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 10:53 PM To: CF-Talk Subject: RE: array question is this a struct in an

RE: array question

2002-12-05 Thread Matt Liotta
It should be # selectedElements[i].XmlText#. Matt Liotta President & CEO Montara Software, Inc. http://www.montarasoftware.com/ 888-408-0900 x901 > -Original Message- > From: Tony Weeg [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 05, 2002 10:50 PM > To: CF-Talk > Subject: array q

RE: array question

2002-12-05 Thread Tony Weeg
and yes, i have changed xmlTest to xmlText and still no dice. tw -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 10:53 PM To: CF-Talk Subject: RE: array question is this a struct in an array? what am i missing? thanks again. tw

RE: array question

2002-12-05 Thread Tony Weeg
is this a struct in an array? what am i missing? thanks again. tw -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 10:50 PM To: CF-Talk Subject: array question this is an array, 1 element, the first element. if i wanted to get to the node X

RE: Array question...

2002-08-16 Thread Ben Doom
inal Message- : From: Alex [mailto:[EMAIL PROTECTED]] : Sent: Friday, August 16, 2002 10:51 AM : To: CF-Talk : Subject: Re: Array question... : : : : SingleArray = ArrayNew(1); : SingleArray[1] = "One"; : SingleArray[2] = "Planes"; : SingleArray[3] = "Twel

Re: Array question...

2002-08-16 Thread Alex
SingleArray = ArrayNew(1); SingleArray[1] = "One"; SingleArray[2] = "Planes"; SingleArray[3] = "Twelve"; SingleArray[4] = "Jets"; DoubleArray = ArrayNew(2); j=0; for (x = 1; x lt arraylen(SingleArray); x = x + 2) { j = j + 1; DoubleArray[j][1] = SingleArray[x]; DoubleArray[j][2] = Si

RE: Array question...

2002-08-16 Thread Dowdell, Jason G
Good point. Thanks, Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 10:28 AM To: CF-Talk Subject: Re: Array question... You could use MOD: ~ ~~ ~ ~~ ~ I haven't tested this, its just "off the cuff"

Re: Array question...

2002-08-16 Thread mynews
You could use MOD: ~ ~~ ~ ~~ ~ I haven't tested this, its just "off the cuff" David Murphy www.cfugcny.org = = = Original message = = = I have a single dimensional array that I want to duplicate into a 2 dimensional array. The first dimension are all odd numbers in the array and the seco

RE: Array Question

2002-05-28 Thread Matt Liotta
COM is evil! If you want to have a good middle tier that works with multiple languages you will need to use Java and/or Corba. -Matt > -Original Message- > From: David Jones [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 28, 2002 11:01 PM > To: CF-Talk > Subject: Array Question > > Tha

RE: Array Question

2001-02-06 Thread Philip Arnold - ASP
> I am getting an error "The element at position 2 in dimension 1 of object > "RLDArray" cannot be found. The object has elements in positions 1 through > 4. Please, modify the index expression." > > This array is generated dynamically, is there a way to test for the > existence of an element with

RE: Array Question

2001-02-06 Thread Raymond Camden
The only way to check, gracefully, for an array position is with CFTRY/CFCATCH. === Raymond Camden, Principal Spectra Compliance Engineer for Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a po