I have a function to test all objects, and finding one fail, should return immediately.
Currently I have it like this:
function On "checkAll" : set return value to "TRUE"
--for each ob : call "testMyObject" (ob.myValue)
----function.ReturnValue = 0 : set return value to "FALSE"
: return!!!!!!
function On "testMyObject" : do really complicated stuff.
Where I have written return!!!! I just want to end the for loop, as I want to immediately return FALSE as if the test on one failed, the whole test failed. Currently it still loops through the remaining objects, taking a lot of time.