[Jprogramming] Mystery J function
Roger Hui
rogerhui.canada at gmail.com
Mon Oct 14 15:06:13 UTC 2013
It's a bug previously reported and previously fixed (does not happen on my
version, J6.02), but the fix is apparently "lost".
On Mon, Oct 14, 2013 at 7:50 AM, Devon McCormick <devonmcc at gmail.com> wrote:
> I have no expectation of the output. I only found it because I was
> checking all character combinations in a "try...catch" phrase to determine
> which ones don't give an error.
>
> I did try it in J6 and it behaves the same way. I don't know if I have a
> copy of J5 anywhere.
>
> It's not important - it's just something that passes my simple test yet is
> not really a known J word.
>
>
>
> On Sun, Oct 13, 2013 at 11:47 PM, bill lam <bbill.lam at gmail.com> wrote:
>
> > The string is invalid as utf8, what would you expect the output
> > should be? Not sure how it will run under J504.
> >
> > Вс, 13 окт 2013, Devon McCormick писал(а):
> > > While experimenting with executing randomly-generated snippets of J, I
> > ran
> > > across this:
> > >
> > > (232{a.),'3'
> > > Φ3
> > > ".(232{a.),'3'
> > >
> > > $".(232{a.),'3'
> > > 0
> > > {.".(232{a.),'3'
> > > 0
> > > '1 2 3',(232{a.),'3 4 5'
> > > 1 2 3Φ3 4 5
> > > ".'1 2 3',(232{a.),'3 4 5'
> > >
> > > This high-bit character seems to return i.0 for any argument.
> > >
> > > --
> > > Devon McCormick, CFA
> > > ----------------------------------------------------------------------
> > > 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
> > gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
>
>
>
>
> --
> Devon McCormick, CFA
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list