bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] defn error with ⍝


From: Juergen Sauermann
Subject: Re: [Bug-apl] defn error with ⍝
Date: Sun, 29 Jan 2017 14:08:06 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi,

which one?

The first ∇ opens function im

The second ∇ is at the end of the comment and closes the function and
brings you back to immediate execution.

The third ∇ is the one below the comment line. It opens a function without a name,
which raised the DEFN error, just like:

      ∇
DEFN ERROR+
      ∇
      ^
      )MORE
Bad function header


In earlier versions of GNU APL the in the comment would belong to the function and
be ignored by the ∇-editor.

But then there was a request in bug-apl that a ∇ in a line of an open function should
not be parsed but instead close the function, which it now does. See

http://lists.gnu.org/archive/html/bug-apl/2014-07/msg00249.html

/// Jürgen


On 01/29/2017 02:20 AM, address@hidden wrote:
could someone give me a heads up why the ⍝ doesn't cover the ∇ in the line?

#! im

∇im
 ⍝ '⊂⌸⋸' ∇
∇

)copy im
DUMPED 2017-01-28 18:17:02 (GMT-7)
DEFN ERROR+
      ∇
      ^





reply via email to

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