bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] No errro message when defining functions using


From: Elias Mårtenson
Subject: [Bug-apl] No errro message when defining functions using
Date: Fri, 7 Feb 2014 20:57:25 +0800

When I try to define a function that takes no arguments, but does include an axis argument, the normal function editor complains:

      ∇foo[x]
bad editor command '∇foo[x]' : problem 'Bad function header at Nabla.cc:495'
DEFN ERROR
      ∇foo[x]
            ^

However, if I try to define the same function using ⎕FX, it gets defined:

      ⎕FX 'foo[x]' 'x'
1
      )fns
EMACS_NATIVE    bar     foo     

But, it cannot be called:

      foo[1]
1
SYNTAX ERROR
      foo[1]
      ^  ^

Regards,
Elias

reply via email to

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