Hi BobK

I said that the example no make sense, the question is if i can without stack
or other problems jump out of the for/next loop

again

For i = 1 To 100
high led
pause 200
low led
pause 200
If PORTB.3 = 1 then exit
next

exit:

end


or is this better?

For i = 1 To 100
high led
pause 200
low led
pause 200
If PORTB.3 = 1 then i = 100
next


regards

Pedro