Agree, it’s not a bug … J is simply parsing all the characters as a single literal string (because of the absence of the space); '-''aaaaa-bbb-z-y-x' -'aaaaa-bbb-z-y-x
compared to this (and now you can see how the first character is available to be “bound” to become the right argument to the & operator… '-' 'aaaaa-bbb-z-y-x' |syntax error | '-''aaaaa-bbb-z-y-x' > On 6 Dec. 2016, at 10:01 am, Ric Sherlock <[email protected]> wrote: > > I don't think that is a bug. Just a parsing issue. Is it 1 string with an > escaped single quote or 2 strings (if you use the space) > > Much like > <;._2 0 2 3 0 2 4 4 3 2 > versus > <;._2 ] 0 2 3 0 2 4 4 3 2 > > On Tue, Dec 6, 2016 at 11:44 AM, Brian Schott <[email protected]> > wrote: > >> Perhaps, this is the wrong place to ask this, but is it a bug that the next >> 2 expressions produce different results (Notice the extra space character >> in the second one)? >> >> >> -.&'-''aaaaa-bbb-z-y-x' >> -.&'-' 'aaaaa-bbb-z-y-x' >> aaaaabbbzyx >> JVERSION >> Engine: j805/j64/darwin >> Beta-9: commercial/2016-07-05T17:11:06 >> Library: 8.05.08 >> Platform: Darwin 64 >> Installer: J805 install >> InstallPath: /applications/j64-805 >> Contact: www.jsoftware.com >> ---------------------------------------------------------------------- >> 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
