|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] Error handling and IO |
Date: | Mon, 11 Apr 2016 17:26:50 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Hi, not sure what is meant by "having the ability to get suspension"? My understanding of ⎕EA and ⎕EC is that their primary purpose is to prevent suspension and instead to return to the caller. Returning to the caller implies unwinding of the )SI stack, and a consequence of unwinding )SI is that the statement in which the error has occurred has been unwound with it. Unwinding the stack could very well remove the defined function in which the error had occurred, for example if you did, for example ⎕FX of a local variable in order to create a local function). That is the main reason why lines 2 and 3 of ⎕EM are gone - there is no guarantee that the offending statement still exists. /// Jürgen On 04/11/2016 09:24 AM, Elias Mårtenson
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |