Hello all, In my scripting system, I allow the user to enter M code. I would like to be able to catch errors, and prevent a crash. I have done a little research, and think the answer involves $ESTACK, but haven't got it all figured out. How would I change the following function to catch errors, and simply display a message that the execution failed?
MyFunct(Code) if '$data(Code) quit ;"Need start of error trap here exec Code ;"Need release error trap here quit Thanks Kevin __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Hardhats-members mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hardhats-members