Re: How does crash_routine() work?
- Posted by Greg Haberek <ghaberek at gmail.com> Feb 11, 2006
- 411 views
> I have three procedures in my program, and I want the third one to initia= te > when an error occures in my program. In order to do that, I must call > crash_routine() with a number instead of a procedure. According to the > notes in machine.e, the number represents the routine id of a procedure > in my program. How do I know which procedure has which routine id? With routine_id()!
-- note: name is passed as a sequence, no parentheses ProcID = routine_id("ProcedureName") FuncID = routine_id("FunctionName")
It really is that easy. ~Greg