The syntax error after the viewmat result is produced is correct
behavior, as defined by the dictionary.

What happens is that J is parsing the stuff to the left of the ;
(because that might eventually turn into a conjunction, and the way to
find out about that, in the general case, is to parse the rest of the
line and see what happens).

As it happens, after parsing everything to the left of that semicolon,
J finds that it has a noun, and it can't do anything with a noun
followed by a semicolon, so that's your syntax error.

For a more formal treatment of this issue, run J's trace facility on
that sentence.

Thanks,

-- 
Raul

On Fri, Dec 7, 2018 at 2:22 PM Brian Schott <schott.br...@gmail.com> wrote:
>
> Is this a similar bug?
> What happens here is the semicolon produces a syntax error but the viewmat
> is still produced.
>
>    viewmat i. 2 3;
> |syntax error
> |       viewmat i.2 3;
>    JVERSION
> Engine: j807/j64/darwin
> Beta-f: commercial/2018-06-28T12:14:57
> Library: 8.07.16
> Qt IDE: 1.7.7/5.9.6
> Platform: Darwin 64
> Installer: J807 install
> InstallPath: /users/brian/j64-807
> Contact: www.jsoftware.com
>
>
> On Fri, Dec 7, 2018 at 11:02 AM Henry Rich <henryhr...@gmail.com> wrote:
>
> > Here is a simpler form of the bug:
> >
> > v =. (1 0$'') .
> >
> > 5!:5 <'v'
> >
> > 1 0$'' .
> >
> >
> > Henry Rich
> >
> >
> > --
> (B=) <-----my sig
> Brian Schott
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to