View Full Version : Script Error catching?

11 November 2006, 06:22 PM
Is there any way to identify that a procedure has errored out?
I was hoping that there was a scriptJob error event, but I can't find anything.

Anyone have any ideas?

11 November 2006, 10:09 PM
About that best you can do is use the "catch" command where you think there might be a problem. If you think there might be a problem with a produre you are calling you could try somthing like this:

catch `someProcedureYouAreCalling()`;

If there is a problem with someProcedureYouAreCalling() catch will return 1. If everything is fine catch will return 0.

This isn't the best solution, I know. But error reporting and debugging in MEL kinda sucks anyway.

CGTalk Moderation
11 November 2006, 10:09 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.