I think this will do the trick:
toCRLF_jgtk_=: 1&}.@:;@:(<;.1@((10{a.)&,)@toJ)
On Thu, May 5, 2011 at 1:21 PM, Leigh J. Halliwell <[email protected]>wrote:
> Dear Chris and others:
>
> Thanks for your help with my clipboard question. I see now that the
> problem, as Chris noted, is with :
>
> toCRLF_jgtk_ =: 2&}.@:;@:((13{a.)&,&.>@<;.1@((10{a.)&,)@toJ)
>
> With some trial and error, I probably could remove the part concerning
> (13{a.); but I'm in no hurry and can wait for Chris to fix it. If it's not
> fixed, I'll send a reminder.
>
> By the way, I was scared of the new version. I do not like the console or
> browser versions; but I think that I will grow to like the gtk version.
> I'm
> good at traditional programming (the primitives and control statements -
> the
> J engine), but I know very little about objects, graphics, and application
> development. For me, J crunches and dumps to Excel, hence the clipboard.
> Perhaps if the J literature on these topics were as systematic as the
> Intro/Dict and the User Manual, I'd try to learn them. Where among the
> on-line tools might I best begin to study them?
>
> Sincerely,
>
> Leigh
>
> On Wed, May 4, 2011 at 7:54 PM, chris burke <[email protected]> wrote:
> >
> > It is a bug. I believe it may have been in J6, but in any case, the
> > problem is that the J7 definition was copied from J6 without testing
> this.
> >
> > In the definition, there is a toHOST that converts the LF separator
> > into CRLF. This causes the problem, and should be removed.
> >
> > I have a fix that will be put up this weekend.
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm