Arrays in VB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amolbehl
    New Member
    • May 2007
    • 63

    Arrays in VB

    Hi,

    I am trying to write an array intensive code. I want to know about functions I can use to find array length at run time. Also many such functions could someone help me find a list of functions I can use with arrays or some tutorial which helps me with them.
    Actually with every new item I need to check if a container has space if it does then I have to add the new item into this container and into an array which keeps track of all the items in the container.
    The only way I see this in VB is with 2 arrays. Can anyone suggest a better way please?

    Thanks.
    Last edited by Killer42; Oct 7 '07, 11:01 AM.
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    A lot depends on what version of VB you're using.

    In VB6, the boundaries of an array are returned by the Lbound() and UBound() functions.

    Comment

    Working...