What locale are you in when you start J?  

If you're in the z locale, then a=.4 is equivalent to a_z_=.4 and a_test_ will 
(failing to find the name 'a' in test) return that value.  

Try

        18!:5 ''

and
        18!:2 <'test'

If the result of the former is an element of the latter, then you've got your 
explanation.

-Dan

-----Original Message-----
From: programming-boun...@forums.jsoftware.com 
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Björn Helgason
Sent: Friday, October 11, 2013 11:36 AM
To: Programming forum
Subject: Re: [Jprogramming] bug?

start j
a=.4
  a_test_
4
On Oct 11, 2013 2:59 PM, "bill lam" <bbill....@gmail.com> wrote:

> I guess your session was dirty.
>
> Пт, 11 окт 2013, Björn Helgason писал(а):
> > al=: 3 : 0
> > 'a_vec_' al y
> > :
> > try.
> > (x)=:(".x),y
> > catch.
> > (x)=:y
> > end.
> > )
> >
> >   'a' al 1 2 3
> > 1 2 3
> >
> >    al 4 5 6
> > 1 2 3 4 5 6
> >   a
> > 1 2 3
> >   a_vec_
> > 1 2 3 4 5 6
> >
> > I think this to be a bug
> > a_vec_ should be 4 5 6
> >
> > This I ran on the Android.
> >
> > Have not tried anywhere else.
> > --------------------------------------------------------------------
> > -- For information about J forums see 
> > http://www.jsoftware.com/forums.htm
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
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