I always put the terminating ∇ on its own line. In fact, that's how I coded
the Emacs mode to behave. Should I change this?

On 30 January 2017 at 00:05, <[email protected]> wrote:

>
> *shakes fist at ibm apl2*    i guess the fns i was doing it in was before
> 2014  -   luckily it is the only one to modify
>
>
> On Sun, 29 Jan 2017 16:56:20 +0100
> Juergen Sauermann <[email protected]> wrote:
>
> > Hi,
> >
> > the original post was referring to the behavior of IBM APL2.
> >
> > I just re-checked it, and IBM APL2 closes an open function if you enter
> ∇, even if the
> > ∇ belongs to a comment.
> >
> > In a way ∇ has a special meaning for the editor, just like ESC in vi.
> >
> > /// Jürgen
> >
> >
> >
> >
> >
> >
> >
> > On 01/29/2017 03:59 PM, [email protected] wrote:
> >
> > Hi Juergen,
> >
> > I looked at the http://lists.gnu.org/archive/
> html/bug-apl/2014-07/msg00249.html   and that is what i am 'using' as a
> programming technique - that ∇ is in a uncommented line
> >
> > my 2nd ∇ is in a comment and should be ignored
> >
> > this is more how i use it in code    i would uncomment the 2nd line   ⍝
> '⊂⌸⋸' ∇  and comment the 3rd line   'aaa' ∇
> >
> > this is more like how i would code
> >
> > ∇im
> > ⍝ '⊂⌸⋸' ∇
> >  'aaa' ∇
> >
> >
> > ∇im
> >   '⊂⌸⋸' ∇
> > ⍝ 'aaa' ∇
> >
> >
> > On Sun, 29 Jan 2017 14:08:06 +0100
> > Juergen Sauermann <[email protected]> wrote:
> >
> > Hi,
> >
> > which one?
> >
> > The first ∇ opens function im
> >
> > The second ∇ is at the end of the comment and closes the function and
>                        <---- it is at the end of a comment and should not
> close the function
> > 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, [email protected] 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