AnsweredAssumed Answered

How to implement Break and Continue?

Question asked by rohanshirodkar on May 8, 2018
Latest reply on May 10, 2018 by w0dz

In my experiment test flow, I have a while loop which i am implementing using a while block, but within the while block I have an if statement which if not true, just wants to stop the execution of while loop and not the entire sequence.
How do I implement it? I tried using blocks like If then Stop and If then else, but it's of no use in my algorithm.

 

pseudo code:

 

while (some_conditions is true):

   do:

      something

      if something > something_else:
         break do;

      something_else

   do something within the while loop

 

Thanks

Outcomes