Re: Try/Catch
- Posted by Spock Feb 12, 2015
- 4224 views
mattlewis said...
jimcbrown said...
So, you can test x to see if the slice was successful, or if an error occured.
...
That said, I think this is much uglier than try/catch. dcuny, you can take it from here.
Whether it's ugly or not, it's much more passive, unless there's some equivalent to try / catch blocks that I'm not seeing.
Matt
The "equivalent" is inside the internal routine. So, crash during development, allow with default value in deployment. How would try/catch recover from a bad index? Resume with a default value perhaps?
Spock