bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] →⍬ gives syntax error every other time.


From: Juergen Sauermann
Subject: Re: [Bug-apl] →⍬ gives syntax error every other time.
Date: Tue, 27 Oct 2015 12:37:24 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi Alex,

branching to means continue execution at the point where it was interrupted (by an error).

This requires a suspended function (and gives an error if no suspended function exists),
and gives the same error as before if you have not removed the cause of the error.

BTW: the + sign after an error tells us that there is more information about the error (which can
be displayed with command )MORE):

      →⍬
SYNTAX ERROR+
      →⍬
      ^

      )MORE
branch back into function (→N) without suspended function


/// Jürgen


On 10/26/2015 11:53 PM, address@hidden wrote:
Hi Bug-apl,

To be honest, I'm not too sure what branching to zilde actually means, but it seems to cause an error every other time. I'm not sure if this is expected behavior. 
     →⍬
SYNTAX ERROR+
      →⍬
      ^
      →⍬
      →⍬
SYNTAX ERROR+
      →⍬
      ^
      →⍬


I also noticed that running →⍬ after an error continually returns the previous error. 
      1 2 + 3 4 5
LENGTH ERROR
      1 2+3 4 5
      ^  ^
      )si
      →⍬
LENGTH ERROR
      1 2+3 4 5
      ^  ^
      →⍬
LENGTH ERROR
      1 2+3 4 5
      ^  ^

Once again, I'm not sure if this is an error or expected behavior. 

-Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]