Hi Guys,
I'm just curious, when writing your functions, do you need to put a try/catch in them? or does it not really matter?
thanks guys
Graham
Printable View
Hi Guys,
I'm just curious, when writing your functions, do you need to put a try/catch in them? or does it not really matter?
thanks guys
Graham
Sometimes I do and if it Catches an error, I have the function return some error value like -1. Otherwise, I let the parent Subroutine that's calling the function trap the error.
ah thanks guys, as a rule of thumb i'll leave them out.
cheers guys
Graham