Re: Counting array elements

"valery_vi" <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
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], <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]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.