Re: Where did the cErrorsList go?

2017-02-28 Thread Mike Bonner 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

Re: Where did the cErrorsList go?

2017-02-28 Thread panagiotis merakos 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 < use-livecode@lists.runrev.com> wrote: > Thanks for pointing that out Panos,

Re: Where did the cErrorsList go?

2017-02-28 Thread Ben Rubinstein 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

Re: Where did the cErrorsList go?

2017-02-28 Thread panagiotis merakos 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 < use-livecode@lists.runrev.com> wrote: > Thanks Thierry and Mike! That's it. And better than the old approach. >

Re: Where did the cErrorsList go?

2017-02-28 Thread Ben Rubinstein 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:

Re: Where did the cErrorsList go?

2017-02-27 Thread Thierry Douez via use-livecode
Hi Ben, try this: the scriptExecutionErrors HTH, Thierry 2017-02-27 17:11 GMT+01:00 Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com>: > For years I've been accustomed to interpreting the error reported in a > 'catch' statement using > > put line xx of the cErrorsList of

Re: Where did the cErrorsList go?

2017-02-27 Thread Mike Bonner 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 < use-livecode@lists.runrev.com> wrote: > For years I've been accustomed to interpreting the error reported in a > 'catch' statement

Where did the cErrorsList go?

2017-02-27 Thread Ben Rubinstein 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