![]() |
VB6 - Basics 3 - You're looping crazy! - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Programming (https://mirage-engine.uk/forums/forumdisplay.php?fid=24) +---- Thread: VB6 - Basics 3 - You're looping crazy! (/showthread.php?tid=2893) |
VB6 - Basics 3 - You're looping crazy! - Jacob - 29-06-2009 Looping in VB6: There are 2 different loop types in VB6. Code: For ... Next Code: Do ... Loop Examples: Code: Dim i as Long For the For ... Next, you can also do Code: Dim i as Long Code: Dim i As Long Code: Dim i As Long Code: Dim i As Long Project This project we will be using a loop to count the number of specific characters in a string. The user will input a string and a letter they want counted. You must output how many times that letter is used in the string. Display the output. Overview
Notes
|