G
Guest
hi
how do i know whether a particular array contains any elements?
thanks
how do i know whether a particular array contains any elements?
thanks
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hemant_india said:thanks bernie
i was looking for a function like alen(myarray,1) we have in
in FoxPro
thanks again guys
Chip said:The following function will return the number of elements in the first
dimension of the array Arr or 0 if Arr is a dynamic array that has not
yet been allocated or has been cleared with Erase, or -1 if Arr is not
an array.
Function NumElements(Arr As Variant) As Long
Dim LB As Long
If IsArray(Arr) = False Then
Alan Beban said:Suggest
If Not TypeName(Arr) Like "*()" Then
elements or the number of non-empty elements,
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.