Well for your example of error trapping, as I said with Sabby's example, switch() would be better, in your example error handling (try, except, finally, throw) would be a much better way to do error handling than a goto trap.