Ok my endless loop is sorted out thanks to Dzt input and thoughts....but i have another problem...
How do i exit the sub before the errorlabel?
Maybe it will be cleared with some code...
B4X:
Sub Dummy
Errorlabel(error)
oranges=3
if oranges 0 2then aples =5
[COLOR="Red"]'How to exit the sub HERE? If no error is detected the code below is executed anyway![/COLOR]
error:
Bananas=10
End Sub
Sub Dummy
Errorlabel(error)
oranges=3
if oranges 0 2then aples =5
'How to exit the sub HERE? If no error is detected the code below is executed anyway!
[B]Return[/B]
error:
Bananas=10
End Sub
specci48
:signOops:
I haven't seen the Return by dzt ... sorry!