Android Question UBOUND IN VB6 = VBA ?

Discussion in 'Android Questions' started by trepdas, Dec 18, 2017.

Tags:
  1. trepdas

    trepdas Member Licensed User

    HI
    I wonder if someone can spare me some time by answering this.

    how do I get the ubound of a list ?

    in vb6
    for i = 0 to ubound(array)

    how would I find ubound of an array (or a list) ?
     
  2. Jeffrey Cameron

    Jeffrey Cameron Active Member Licensed User

    Code:
    For I = 0 to myArray.Length - 1
     
    trepdas, Peter Simpson and mangojack like this.
  3. trepdas

    trepdas Member Licensed User

    :):)
    Thanks
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Another option:
    Code:
    For Each x As <type here> In MyArrayOrMyList

    Next
     
    Ricky D, Peter Simpson and mangojack like this.
  5. trepdas

    trepdas Member Licensed User

    Thank you.
    Got so many little questions while trying to adapt to the new visual basic....
    I guess I'll open a new thread question for each.
    I think.
     
  6. DonManfred

    DonManfred Expert Licensed User

    If you have questions about Visual Basic then you should go to a Visual Basic forum.

    This is the B4X Forum. You questions should be related to B4A (this forum), B4J (B4J Questions forum) or B4i (B4I Questions forum).
    Create a new thread for any new question.
     
  7. trepdas

    trepdas Member Licensed User

    OK...
    I meant the b4a as my new visual basic...
    but yeah. I don't have many questions regarding the vb6. if I'll have any - I promise, I will post it in a vb6 forum.
     
  8. RVP

    RVP Active Member Licensed User

    Did you download the Beginners Guide?
     
  9. trepdas

    trepdas Member Licensed User

    I'm on it.
    Thanks.
    :))
     
Loading...
  1. 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.
    Dismiss Notice