KB-47537: Measuring arrays.

Question:

Is there any function that will help me find out an array’s size?

Solution:

Yes. To do so, you must use Ubound function.
 
Example of script running in a button on screen:

Dim myVector(15)

size = UBound(myVector)
msgbox size

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *