How can you get the returned error number when using CVErr?
I've bashed together this nonsense example to show what I mean:
If the number in the argument to the IsEven function is even then it returns true however if is it odd then it returns an error.Please Login or Register to view this content.
Of course in reality it could return any error number but how do I access this returned error number in the test_error sub? Ideally, if a function returns an error you'd want to get that number as it would allow you to deal with different recovery situations depending on what the error number is.
Thanks
Bookmarks