Re: get handler name
Re: get handler name
- Subject: Re: get handler name
- From: Michelle Steiner <email@hidden>
- Date: Thu, 22 Mar 2001 15:00:58 -0800
On 3/22/01 2:02 PM, Brad Giesbrecht <email@hidden> wrote:
>
Is there a way to get a handler's name?
>
>
<snip>
>
on handlerName()
>
try
>
on error
>
set h to -- code that will return "on handlerName()"
>
end try
>
end handlerName
You can fake it:
on handlerName()
try
set foo to foo + 1 --create an error condition
on error
return "handlerName"
end try
end handlerName
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------