G
Grim Reaper
Just a quick and probably daft question...
Isn't the code;
Try
DoSomething()
Catch e As Exception
HandleError(e)
Finally
DoThisAtTheEnd()
End Try
functionally identical to...
Try
DoSomething()
Catch e As Exception
HandleError(e)
End Try
DoThisAtTheEnd()
What I'm getting at, is that I don't really see the point of the Finally statement! Surely after the Catching and handling has been dealt with, the code will move on to whatever is after the End Try anyway?!?
Your comments appreciated...
____________________________________________
The Grim Reaper
Isn't the code;
Try
DoSomething()
Catch e As Exception
HandleError(e)
Finally
DoThisAtTheEnd()
End Try
functionally identical to...
Try
DoSomething()
Catch e As Exception
HandleError(e)
End Try
DoThisAtTheEnd()
What I'm getting at, is that I don't really see the point of the Finally statement! Surely after the Catching and handling has been dealt with, the code will move on to whatever is after the End Try anyway?!?
Your comments appreciated...
____________________________________________
The Grim Reaper