Safe to Return from Repeat-Until?
Posted: Thu Sep 04, 2025 1:12 pm
Never thought this before, and I suppose this is safe, but checking just in case.
Suppose:
It is safe to use RETURN to get out of Repeat-Until loop, that doesnt mean that I would somehow end up back to this Repeat-Until loop, which I interrupted by using Return, but instead also the Repeat-Until loop gets cancelled when returning in middle of it?
Suppose:
Code: Select all
Function Func()
Repeat
Return
Until A=1
EndFunction