Results 1 to 2 of 2

Thread: [RESOLVED] Length Of An Array

  1. #1

    Thread Starter
    Junior Member Water Color's Avatar
    Join Date
    May 2006
    Posts
    17

    Resolved [RESOLVED] Length Of An Array

    If i declare an Array of variable length and i store some data in it but i don't know how many datas i stored.

    While the Array has datas in it how do i find out it's length?

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Length Of An Array

    The UBound function will get the upper bound of the dynamic array, but you'll need to write your own code to remember which indexes you have filled up with some data yourself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width