stopping a for next loop

davidwf

Senior Member
I need to stop a for - next loop from executing if a condition appears on an input pin

something like this .....

for w3 = 0 to 1000
<<do something>>
if input1 = 1 then <<do something else>>

how can I stop the for next loop at this point and reset it to zero

next w3

PLEASE keep it simple, I am no expert !

thanks
Dave F
 

davidwf

Senior Member
Thanks Marcos,
No, I didn't look at the manual - wrists have been slapped !

Slurp
Do loop sounds like it could be a possible as well....I'd better dig the manual out lest I am told off again :D

thanks all
 
Top