|
-
May 22nd, 2006, 04:55 AM
#1
Thread Starter
Junior Member
Infinite Loop
Whats vb's verison of infinite loop? a timer set to 1?
-
May 22nd, 2006, 05:02 AM
#2
Re: Infinite Loop
VB Code:
Do While True
'statements
Loop
Another one
VB Code:
While True
'statements
Wend
Use [code] source code here[/code] tags when you post source code.
My Articles
-
May 22nd, 2006, 05:38 AM
#3
Re: Infinite Loop
Heh heh!
Private Sub Form_Load()
Call Form_Load
End Sub
-
May 22nd, 2006, 06:35 AM
#4
Re: Infinite Loop
TysonLPrice, this is not an infinite loop. It is a recursive procedure call. It will generate an out of stack space error.
-
May 22nd, 2006, 06:37 AM
#5
Re: Infinite Loop
 Originally Posted by Frans C
TysonLPrice, this is not an infinite loop. It is a recursive procedure call. It will generate an out of stack space error.
I was just playing around but I see your point.
-
May 22nd, 2006, 10:33 AM
#6
Fanatic Member
Re: Infinite Loop
VB Code:
dim x
x=1
do
beep
loop until x=2
NOTE : unless you want your app to crash dont use this
-
May 22nd, 2006, 11:51 AM
#7
Frenzied Member
Re: Infinite Loop
An infinite loop is just any loop that never satisfies it's condition for when to end.
If we're going to indulge in bad programming practices:
Label:
'
Goto Label
-
May 22nd, 2006, 08:11 PM
#8
Re: Infinite Loop
 Originally Posted by Cipherman
Whats vb's verison of infinite loop? a timer set to 1?
why do you want to use infinite loop?
What you would like to do?
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
|