Re: Counting array elements
"valery_vi" <[email protected]>
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <[email protected]> |
BTW About the same "Two cows in a field, one goes: moo', the other says: I was going to say that'" From: Funny thing is, I don't like jokes! by Barry McDonald URL: http://www.eveningtimes.co.uk/features/display.var.1133997.0.0.php Valery --- In [email protected], "valery_vi" <shehrer1@...> wrote: > > Yes, too late in the evening of today (Monday) and very much blood... > :-) > > Valery > > --- In [email protected], <marx.external@> wrote: > > > > Doh. I should have seen that. For some reason I was looking for a > UDF > > that did it r a command that started with array. Too early in the > > morning and not enough caffeine. Thanks > > > > > > > > ________________________________ > > > > From: [email protected] > [mailto:[email protected]] On > > Behalf Of valery_vi > > Sent: Monday, January 22, 2007 7:10 AM > > To: [email protected] > > Subject: [AutoIt] Re: Counting array elements > > > > > > > > maybe UBound > > > > From Doc: > > > > UBound > > > > Returns the size of array dimensions. > > > > UBound ( Array [, Dimension] ) > > > > Parameters > > > > Array - The array variable which is being queried. > > Dimension [optional] - Which dimension of a multi-dimensioned array > to > > report the size of. Default is 1, which is the first dimension. If > this > > parameter is 0, the number of subscripts in the array is returned. > > > > --- In [email protected] <mailto:AutoItList% > 40yahoogroups.com> > > , <marx.external@> wrote: > > > > > > Greetings all, > > > > > > I cannot seem to find any notes to the effect so I will go ahead > and > > > ask the question. I have an array which I am merging with another > > > array. What is the easiest way to count the number of items in the > > > array WITHOUT changing that array (I realize I could sort it and > then > > > just get the max index but I do not want to alter the order of > the > > data. > > > Thanks in advance. > > > > > > > > > > > > [Non-text portions of this message have been removed] > > > > > > > > > > > > > > > [Non-text portions of this message have been removed] > > >