Results 1 to 4 of 4

Thread: [Resolved] Determine the member of a type with the highest value

Threaded View

  1. #1

    Thread Starter
    Fanatic Member TokersBall_CDXX's Avatar
    Join Date
    Mar 2003
    Location
    America
    Posts
    571

    Resolved [Resolved] Determine the member of a type with the highest value

    having a hard time determining which member of a private type has the highest value.

    Bubble Sorting doest appear loggical, or if it does I just can't see it from this view...


    VB Code:
    1. Private Type ThisIsATest
    2.  lThisisALong as long
    3.  sThisIsAName as string
    4. End Type
    5. Dim Test(39) as ThisIsATest
    6.  
    7.  
    8. Private Sub Form_Load()
    9.  
    10. Test(0).lThisisALong = 4123
    11. Test(1).lThisisaLong = 31
    12. Test(2).lThisisaLong = 312355
    13. End Sub

    any ideas how to determine which is the highest?
    Last edited by Hack; Feb 2nd, 2006 at 01:18 PM. Reason: Added green "resolved" checkmark
    Build your own personalized flash based chat room for your webpage for FREE! http://www.4computerheaven.com

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