Note that if you quote the ^L or put it in a Note'' script, it does
not matter how J parses the character.

That said, it sounds wrong that the line ending changes the
significance of the character - I think that I would not like that
behavior preserved in future versions of J.

Thanks,

-- 
Raul

On Sun, Dec 14, 2014 at 1:00 PM, Michal Wallace
<[email protected]> wrote:
> So: in a bizarre twist, it seems that the dos2unix program I was using
> to test whether line endings mattered is also a unix2dos program, and so
> my results were unreliable.
>
> It turns out line endings *do* matter: J happily treats ^L as whitespace
> when using unix-style ^J line endings, but treats it as an (ill-formed)
> identifier when using DOS-style ^J^M endings.
>
> So now the trick is just getting the JQt editor to preserve the line ending
> style... :)
> ----------------------------------------------------------------------
> 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