Can I find out what handler I am in?

Kaveh Bazargan kaveh at rivervalleytechnologies.com
Fri Oct 25 14:45:52 EDT 2019


So Tom, do you need

return item 2 of line -2 of the executioncontexts

to be in every possible handler?

On Fri, 25 Oct 2019 at 19:40, Tom Glod via use-livecode <
use-livecode at lists.runrev.com> wrote:

> 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
> _______________________________________________
> 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
>


-- 
Kaveh Bazargan PhD
Director
River Valley Technologies <http://rivervalleytechnologies.com/> • Twitter
<https://twitter.com/kaveh1000> • LinkedIn
<https://www.linkedin.com/in/bazargankaveh/>



More information about the use-livecode mailing list