Is there a simple way to find the size of an array? I am trying to write code to remove an item from it, and need to check my code to see if I am doing it right. Any help is appreciated, thanks.<br>
<br>
Frank
Alt225 -<br>
I'm assuming this is starting at 0? Like, if ElementsInArray = 2, it means that there are 3 entries? If so then it works great, and thanks for the help! <br>
<br>
Frank
Thanks for mentioning that. Since the lower boundry of the array can be almost any number less than or equal to the upper boundry I should have said Ubound(NameOfArray) - Lbound(NameOfArray) + 1.
Hi frankD,<br>
If you want each array in your program to have 1 as the base then write this code in the general declaration <br>
Option base=1<br>
<br>
It will apply the basevalue 1 to every array in your specific module.<br>
<p>Ravi Kochher<br><a href=mailto:rkochher@velos.ssind.com>rkochher@velos.ssind.com</a><br><a href= > </a><br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.