Are any of the below “goto” like constructs possible? If so, how?
- function/procedure exit
- loop break
- loop continue
–jeroen
Are any of the below “goto” like constructs possible? If so, how?
–jeroen
- function/procedure exit
there’s the :return command, which does just that.
- loop break
The closest thing I can think of is using :error to intentionally stop everything within a “:do”, and handle it further in “on-error”, but then again, that’s more like try…catch.
- loop continue
AFAIK, nope.
Thanks for confirming my suspicion of :return being the only such construct.
–jeroen