Hello everyone,
I have a program that calls a function. I would like to put a test in this function that would call "return" is true. however, that function is called in a loop so I would like to test if the function was ended prematurely and call "break" on the loop.
something along the lines of that:
if return==true
break
else
…
Is there anyway to actually do that?
Best Answer