bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Crash when refining an incorrect function


From: Elias Mårtenson
Subject: Re: [Bug-apl] Crash when refining an incorrect function
Date: Mon, 2 Dec 2013 12:50:44 +0800

Should it really give an error though? Shouldn't I be able to simply redefine an existing function? I'm not sure what the standard says about that though.

Nevertheless, trying to edit the erroneous function gives me a different error message:

      ⍝ Define a function with an intentional bug
      ∇ r←x z y
[1] foo
[2] r←x+y
[3]

      ⍝ Try to call the function
      10 z 20
VALUE ERROR
z[1]  foo
      ^

      ⍝ Now try to edit the function to fix the error
      ∇z
bad editor command '∇z' : problem 'Nabla.cc:442'
DEFN ERROR
      ∇z
       ^

Regards,
Elias


On 2 December 2013 02:25, Juergen Sauermann <address@hidden> wrote:
Hello Elias,

I have fixed the ⍎'→3' and ∇ r←x z y problems, see SVN version 44.

The ∇-Editor now throws a DEFN ERROR (the function should have been
opened with ∇z since an already existing function is opened).

Best Regards,
Jürgen




reply via email to

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