Whats vb's verison of infinite loop? a timer set to 1?
Printable View
Whats vb's verison of infinite loop? a timer set to 1?
Another oneVB Code:
Do While True 'statements LoopVB Code:
While True 'statements Wend
Heh heh!
Private Sub Form_Load()
Call Form_Load
End Sub
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. :wave:Quote:
Originally Posted by Frans C
NOTE : unless you want your app to crash dont use this :pVB Code:
dim x x=1 do beep loop until x=2
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
why do you want to use infinite loop?Quote:
Originally Posted by Cipherman
What you would like to do?