Does return; also work for a try block?
in
Programming Questions
•
1 year ago
Just two short questions (that i wasn't able to find in the documentation);
- in a try-block, does a return; statement immediately exit the try-block (like it would do with a for-loop for example)?
- if the try-block throws an error, can i (after fixing the error in the corresponding catch-block) make the script retry the try block (without having to build an entire checking system with booleans and for or while-loops)? Is there a simple command for that? (btw., i realize there is a risk of an infinite loop with this)
1