[Jprogramming] Mystery J function
Devon McCormick
devonmcc at gmail.com
Mon Oct 14 14:50:38 UTC 2013
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
More information about the Programming
mailing list