Elementary Question about a counter
Hello all.
What I'm trying to do is have a program read an interger from a Textbox, and then perform a function that many times.
Essentially like a for or while loop in Java or C++
Could anyone help me out? This is quite frustrating for someone who has background only in Java, and is used to simply throwing the stuff into a for loop >_<
Re: Elementary Question about a counter
vb Code:
for x as integer = 1 to cint(textbox1.text)
'perform function
next
Re: Elementary Question about a counter
Quote:
Originally Posted by
DjSanguine
This is quite frustrating for someone who has background only in Java, and is used to simply throwing the stuff into a for loop >_<
I can see how this information would have been hard to find:
http://www.google.com.au/search?q=fo...ient=firefox-a
http://social.msdn.microsoft.com/Sea...ultsLang=en-AU