For loops

Started by Ryszard, August 04, 2023, 08:57:12

Previous topic - Next topic

Ryszard

I have several For loops. They are not nested. They occur sequentially one after another. If the condition is met in any loop then I would like to exit the whole set and examine the next item. From one loop I know how to exit. But from several unfortunately not.

Greetings Richard

TomToad

Put the loops in a function, then you can just Return if any condition is met.
------------------------------------------------
8 rabbits equals 1 rabbyte.