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

Can you tell what wrong here (VB6)

Options
  • 04-04-2006 3:29pm
    #1
    Registered Users Posts: 221 ✭✭


    While impossible_values_row
    'check_depth()
    number_found = True
    End while


    what wrong witht his while loop ??

    any help is great thanks

    -elfman


Comments

  • Registered Users Posts: 199 ✭✭DecTenToo


    You're not setting any condition within the while loop so it's not going to finish. It'll go on for ever. A quick definition can be found at http://en.wikipedia.org/wiki/While_loop


  • Closed Accounts Posts: 82 ✭✭cyberbob


    lol ,
    change "end while" for "wend"


  • Moderators, Education Moderators, Motoring & Transport Moderators Posts: 7,395 Mod ✭✭✭✭**Timbuk2**


    don't worry, it happens everyone

    in the new visual basic, visual basic.NET, it is While... End While

    The language has changed very much in the new visual basic, but for visual basic 6, its While... Wend


Advertisement