View previous topic :: View next topic |
Author |
Message |
CompuPayMike
Joined: 10 Mar 2009 Posts: 23 Location: USA
|
Posted: Wed Mar 24, 2010 2:36 pm Post subject: Trap Exceptions - reposted to support from general form. |
|
|
I have read the documentation on using the Trap Execptions@ subroutine. I am interested in finding out if the subroutine to be executed by the handler can have arguments and if so how do these arguments get passed.
If they cannot have arguments how do the custom exception handlers get access to variables in the program?
Thank you for any answers to this question.
Michael |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Mon Mar 29, 2010 8:33 am Post subject: |
|
|
The exception handling routine cannot have arguments but I guess you could pass arguments in a different way by putting values into a common block at the critical points in the code. |
|
Back to top |
|
 |
|