Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

VB 6.0 Arrays API

Options
  • 16-06-2005 11:32am
    #1
    Registered Users Posts: 3,548 ✭✭✭


    So Ive been searching around like a mad thing for an hour now and cant seem to find a run down of the methods available to manipulate arrays in vb 6.0

    all I wanna do is get the largest value out of an array!


Comments

  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    Surely you could run a sort on the array. Post some code ...


  • Registered Users Posts: 3,548 ✭✭✭Draupnir


    yeah i did it now. i was just being too lazy to do any real work on it, since im not actually being paid to do this.


  • Registered Users Posts: 21,264 ✭✭✭✭Hobbes


    For loop, make a note of the current index value, do the next if its bigger then note that instead. Continue until the end, whatever you last indexed is the biggest.


  • Registered Users Posts: 3,548 ✭✭✭Draupnir


    yup, thats how I did it. silly vb 6.0 not having a built in function.


Advertisement