Can I find out what handler I am in?
Alain Vezina
alain.vezina at logilangue.com
Fri Oct 25 17:18:32 EDT 2019
I use to indicate where I am by answering something like "I'm entering in handler XYZ", "I exit handler XYZ"
Sometime I use answering to know what is in a special Variable, an so on.
I's simple, but it woks, especially when I use several handlers.
Alain Vezina
Logilangue
> Le 25 oct. 2019 à 14:57, Tom Glod via use-livecode <use-livecode at lists.runrev.com> a écrit :
>
> its mostly for try routines.... so i'm using it like it
>
> try
> something ....
> catch TheError
> LogError TheError
> end try
>
> in LogError handler is where i read the correct line and item in the
> executioncontexts.
>
>
>
>
>
>
> On Fri, Oct 25, 2019 at 2:47 PM Bob Sneidar via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> Item 2 of line -1 of the executionContexts
>>
>>> On Oct 25, 2019, at 11:46 , Bob Sneidar <bobsneidar at iotecdigital.com>
>> wrote:
>>>
>>> Correction Item 2
>>>
>>>> On Oct 25, 2019, at 11:46 , Bob Sneidar <bobsneidar at iotecdigital.com>
>> wrote:
>>>>
>>>> Item 3
>>>>
>>>>
>>>>> On Oct 25, 2019, at 11:39 , 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.
>>>>
>>>
>>
>>
>> _______________________________________________
>> 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
More information about the use-livecode
mailing list