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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

VB 6.0 Arrays API

  • 16-06-2005 10:32am
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 Posts: 7,468 ✭✭✭Evil Phil


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


  • Registered Users, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 3,548 ✭✭✭Draupnir


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


Advertisement