Does anyone know if a Return will still process a finally statement?
If I am in a Try/Catch/Finally Block within a function, will the Finally part get executed if in the Try or Catch part I put a Return statement?
All the books and documentions aren't very clear of this. I have read that a Finally statement will always run, but then it's contricted by a Return statement that always exits the function and stops processing it.
If I am in a Try/Catch/Finally Block within a function, will the Finally part get executed if in the Try or Catch part I put a Return statement?
All the books and documentions aren't very clear of this. I have read that a Finally statement will always run, but then it's contricted by a Return statement that always exits the function and stops processing it.