Can I find out what handler I am in?

Tom Glod tom at makeshyft.com
Fri Oct 25 14:39:13 EDT 2019


Its for error handling ...I want my error handler to know which handler the
error was in.

On Fri, Oct 25, 2019 at 2:37 PM Bob Sneidar via use-livecode <
use-livecode at lists.runrev.com> wrote:

> executionContexts is way more useful.
>
> Bob S
>
>
> > On Oct 25, 2019, at 11:14 , Mark Wieder via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >
> > On 10/25/19 11:00 AM, Richard Gaskin via use-livecode wrote:
> >> Tom Glod wrote:
> >> > But is there a function that I can call inside a handler that will
> >> > tell me the name of the handler?
> >> I'm curious: what are you doing that needs this?
> >
> > Not Tom, but...
> >
> > I do this all the time when I need to print a debugging message to the
> messagebox. Sometimes handlers abort before getting to important statements
> and by placing these statements at various points I can tell whether or not
> a handler got triggered.
> >
> > put param(0) & cr after msg
> >
> > --
> > Mark Wieder
> > ahsoftware at gmail.com
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Office:226-706-9339
Mobile:226-706-9793



More information about the use-livecode mailing list