RE: Re: Counting array elements
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <C3339561D7B7F246B51D79A63BA14BEC01851FC2@drsse603.eu.infineon.com> |
Doh. I should have seen that. For some reason I was looking for a UDF that did it or 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]