Where did the cErrorsList go?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Where did the cErrorsList go?

Alejandro Tejada via use-livecode
For years I've been accustomed to interpreting the error reported in a 'catch'
statement using

put line xx of the cErrorsList of card 1 of stack "revErrorDisplay"


In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property.

The dictionary still recommends this technique.

Was there a flaw in the building process, or has there been a change (not yet
reflected in the documentation)?

TIA,

Ben

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Where did the cErrorsList go?

Alejandro Tejada via use-livecode
Hi Ben,

try this:

the scriptExecutionErrors


HTH,

Thierry


2017-02-27 17:11 GMT+01:00 Ben Rubinstein via use-livecode <
[hidden email]>:

> For years I've been accustomed to interpreting the error reported in a
> 'catch' statement using
>
> put line xx of the cErrorsList of card 1 of stack "revErrorDisplay"
>
>
> In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property.
>
> The dictionary still recommends this technique.
>
> Was there a flaw in the building process, or has there been a change (not
> yet reflected in the documentation)?
>
> TIA,
>
> Ben
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



--
------------------------------------------------
Thierry Douez - http://sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Where did the cErrorsList go?

Alejandro Tejada via use-livecode
In reply to this post by Alejandro Tejada via use-livecode
I'm not sure if its the same thing, but you might try "put line xx of the
scriptexecutionerrors"

On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode <
[hidden email]> wrote:

> For years I've been accustomed to interpreting the error reported in a
> 'catch' statement using
>
> put line xx of the cErrorsList of card 1 of stack "revErrorDisplay"
>
>
> In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property.
>
> The dictionary still recommends this technique.
>
> Was there a flaw in the building process, or has there been a change (not
> yet reflected in the documentation)?
>
> TIA,
>
> Ben
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Where did the cErrorsList go?

Alejandro Tejada via use-livecode
Thanks Thierry and Mike! That's it. And better than the old approach.

How do you know about this? AFAICT it isn't listed in the dictionary anywhere
(whereas the old approach is still recommended).

I'll report a docs snag.

thanks,

Ben

On 27/02/2017 17:36, Mike Bonner via use-livecode wrote:

> I'm not sure if its the same thing, but you might try "put line xx of the
> scriptexecutionerrors"
>
> On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode <
> [hidden email]> wrote:
>
>> For years I've been accustomed to interpreting the error reported in a
>> 'catch' statement using
>>
>> put line xx of the cErrorsList of card 1 of stack "revErrorDisplay"
>>
>>
>> In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property.
>>
>> The dictionary still recommends this technique.
>>
>> Was there a flaw in the building process, or has there been a change (not
>> yet reflected in the documentation)?
>>
>> TIA,
>>
>> Ben
>>
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Where did the cErrorsList go?

Alejandro Tejada via use-livecode
Hi all,

There is a bug report about this issue:

http://quality.livecode.com/show_bug.cgi?id=19171

Best,
Panos
--

On Tue, Feb 28, 2017 at 10:18 AM, Ben Rubinstein via use-livecode <
[hidden email]> wrote:

> Thanks Thierry and Mike! That's it. And better than the old approach.
>
> How do you know about this? AFAICT it isn't listed in the dictionary
> anywhere (whereas the old approach is still recommended).
>
> I'll report a docs snag.
>
> thanks,
>
> Ben
>
>
> On 27/02/2017 17:36, Mike Bonner via use-livecode wrote:
>
>> I'm not sure if its the same thing, but you might try "put line xx of the
>> scriptexecutionerrors"
>>
>> On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode <
>> [hidden email]> wrote:
>>
>> For years I've been accustomed to interpreting the error reported in a
>>> 'catch' statement using
>>>
>>> put line xx of the cErrorsList of card 1 of stack "revErrorDisplay"
>>>
>>>
>>> In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property.
>>>
>>> The dictionary still recommends this technique.
>>>
>>> Was there a flaw in the building process, or has there been a change (not
>>> yet reflected in the documentation)?
>>>
>>> TIA,
>>>
>>> Ben
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> [hidden email]
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Where did the cErrorsList go?

Alejandro Tejada via use-livecode
Thanks for pointing that out Panos, I've added the additional issues in the
dictionary to that report.

Ben

On 28/02/2017 11:02, panagiotis merakos via use-livecode wrote:

> Hi all,
>
> There is a bug report about this issue:
>
> http://quality.livecode.com/show_bug.cgi?id=19171
>
> Best,
> Panos
> --
>
> On Tue, Feb 28, 2017 at 10:18 AM, Ben Rubinstein via use-livecode <
> [hidden email]> wrote:
>
>> Thanks Thierry and Mike! That's it. And better than the old approach.
>>
>> How do you know about this? AFAICT it isn't listed in the dictionary
>> anywhere (whereas the old approach is still recommended).
>>
>> I'll report a docs snag.
>>
>> thanks,
>>
>> Ben
>>
>>
>> On 27/02/2017 17:36, Mike Bonner via use-livecode wrote:
>>
>>> I'm not sure if its the same thing, but you might try "put line xx of the
>>> scriptexecutionerrors"
>>>
>>> On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode <
>>> [hidden email]> wrote:
>>>
>>> For years I've been accustomed to interpreting the error reported in a
>>>> 'catch' statement using
>>>>
>>>> put line xx of the cErrorsList of card 1 of stack "revErrorDisplay"
>>>>
>>>>
>>>> In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property.
>>>>
>>>> The dictionary still recommends this technique.
>>>>
>>>> Was there a flaw in the building process, or has there been a change (not
>>>> yet reflected in the documentation)?
>>>>
>>>> TIA,
>>>>
>>>> Ben


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Where did the cErrorsList go?

Alejandro Tejada via use-livecode
Thanks for you comment Ben. BTW there is a dictionary entry for the
"scriptExecutionErrors" in LC 9 DP-5. We probably have to backport it into
LC 8.1.x.

On Tue, Feb 28, 2017 at 11:08 AM, Ben Rubinstein via use-livecode <
[hidden email]> wrote:

> Thanks for pointing that out Panos, I've added the additional issues in
> the dictionary to that report.
>
> Ben
>
>
> On 28/02/2017 11:02, panagiotis merakos via use-livecode wrote:
>
>> Hi all,
>>
>> There is a bug report about this issue:
>>
>> http://quality.livecode.com/show_bug.cgi?id=19171
>>
>> Best,
>> Panos
>> --
>>
>> On Tue, Feb 28, 2017 at 10:18 AM, Ben Rubinstein via use-livecode <
>> [hidden email]> wrote:
>>
>> Thanks Thierry and Mike! That's it. And better than the old approach.
>>>
>>> How do you know about this? AFAICT it isn't listed in the dictionary
>>> anywhere (whereas the old approach is still recommended).
>>>
>>> I'll report a docs snag.
>>>
>>> thanks,
>>>
>>> Ben
>>>
>>>
>>> On 27/02/2017 17:36, Mike Bonner via use-livecode wrote:
>>>
>>> I'm not sure if its the same thing, but you might try "put line xx of the
>>>> scriptexecutionerrors"
>>>>
>>>> On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode <
>>>> [hidden email]> wrote:
>>>>
>>>> For years I've been accustomed to interpreting the error reported in a
>>>>
>>>>> 'catch' statement using
>>>>>
>>>>> put line xx of the cErrorsList of card 1 of stack "revErrorDisplay"
>>>>>
>>>>>
>>>>> In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property.
>>>>>
>>>>> The dictionary still recommends this technique.
>>>>>
>>>>> Was there a flaw in the building process, or has there been a change
>>>>> (not
>>>>> yet reflected in the documentation)?
>>>>>
>>>>> TIA,
>>>>>
>>>>> Ben
>>>>>
>>>>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Where did the cErrorsList go?

Alejandro Tejada via use-livecode
I found it by digging through the scripts of ide stacks. (I first looked
for stacks with "error" in the name, but ended up finding it in the
revidelibrary stack.  There is a function "revIDELookupError()" that had
the needed code.)

On Tue, Feb 28, 2017 at 4:20 AM, panagiotis merakos via use-livecode <
[hidden email]> wrote:

> Thanks for you comment Ben. BTW there is a dictionary entry for the
> "scriptExecutionErrors" in LC 9 DP-5. We probably have to backport it into
> LC 8.1.x.
>
> On Tue, Feb 28, 2017 at 11:08 AM, Ben Rubinstein via use-livecode <
> [hidden email]> wrote:
>
> > Thanks for pointing that out Panos, I've added the additional issues in
> > the dictionary to that report.
> >
> > Ben
> >
> >
> > On 28/02/2017 11:02, panagiotis merakos via use-livecode wrote:
> >
> >> Hi all,
> >>
> >> There is a bug report about this issue:
> >>
> >> http://quality.livecode.com/show_bug.cgi?id=19171
> >>
> >> Best,
> >> Panos
> >> --
> >>
> >> On Tue, Feb 28, 2017 at 10:18 AM, Ben Rubinstein via use-livecode <
> >> [hidden email]> wrote:
> >>
> >> Thanks Thierry and Mike! That's it. And better than the old approach.
> >>>
> >>> How do you know about this? AFAICT it isn't listed in the dictionary
> >>> anywhere (whereas the old approach is still recommended).
> >>>
> >>> I'll report a docs snag.
> >>>
> >>> thanks,
> >>>
> >>> Ben
> >>>
> >>>
> >>> On 27/02/2017 17:36, Mike Bonner via use-livecode wrote:
> >>>
> >>> I'm not sure if its the same thing, but you might try "put line xx of
> the
> >>>> scriptexecutionerrors"
> >>>>
> >>>> On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode <
> >>>> [hidden email]> wrote:
> >>>>
> >>>> For years I've been accustomed to interpreting the error reported in a
> >>>>
> >>>>> 'catch' statement using
> >>>>>
> >>>>> put line xx of the cErrorsList of card 1 of stack "revErrorDisplay"
> >>>>>
> >>>>>
> >>>>> In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property.
> >>>>>
> >>>>> The dictionary still recommends this technique.
> >>>>>
> >>>>> Was there a flaw in the building process, or has there been a change
> >>>>> (not
> >>>>> yet reflected in the documentation)?
> >>>>>
> >>>>> TIA,
> >>>>>
> >>>>> Ben
> >>>>>
> >>>>
> >
> > _______________________________________________
> > use-livecode mailing list
> > [hidden email]
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Loading...