|
-
Mar 26th, 2005, 03:11 AM
#1
Thread Starter
Banned
Hello, How Are You? app RESOLVED
Private Sub Command1_Click()
End
End Sub
Private Sub Command2_Click()
Cls
For x = 1 To 5
Print "Hello, How Are You?"
Next x
End Sub
Last edited by dos5731; Mar 26th, 2005 at 03:33 AM.
-
Mar 26th, 2005, 03:13 AM
#2
Re: Hello, How Are You? app
Whats your question?
I dont really understand this:
For x = 1 To 5
Next x
You dont need that at all
so:
Private Sub Command1_Click()
End
End Sub
Private Sub Command2_Click()
Cls
Print "Hello, How Are You?"
End Sub
-
Mar 26th, 2005, 03:28 AM
#3
Re: Hello, How Are You? app
-
Mar 26th, 2005, 04:05 AM
#4
PowerPoster
Re: Hello, How Are You? app
 Originally Posted by dglienna
it prints it 5 times
Yes it prints "Hello, How Are You?" 5 times but you can only see one line of "Hello, How Are You?" becuase of the "Cls"
-
Mar 26th, 2005, 04:10 AM
#5
Thread Starter
Banned
Re: Hello, How Are You? app RESOLVED
post your code and I will fix.
-
Mar 26th, 2005, 04:21 AM
#6
Re: Hello, How Are You? app
 Originally Posted by Simply Me
Yes it prints "Hello, How Are You?" 5 times but you can only see one line of "Hello, How Are You?" becuase of the "Cls" 
The cls is outside of the loop. Why don't you paste the code into a new project and try it. You may learn something.
-
Mar 26th, 2005, 04:28 AM
#7
PowerPoster
Re: Hello, How Are You? app
 Originally Posted by dglienna
The cls is outside of the loop. Why don't you paste the code into a new project and try it. You may learn something. 
Sorry mislook it.
-
Mar 26th, 2005, 04:30 AM
#8
Thread Starter
Banned
Re: Hello, How Are You? app RESOLVED
Ok
Thank You For Test It For Me!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|