[Jprogramming] Beginner - multiline paste
Henry Rich
HenryHRich at nc.rr.com
Sat Feb 15 18:09:23 UTC 2014
Usually put it into .ijs, but you can copy it into .ijx, then select it
all in the .ijx, and do Run|Selection.
Henry Rich
On 2/15/2014 1:06 PM, Asdasd Asdasd wrote:
>
>
>
> Hi, I'm a novice in J and I was trying to define a noun as a multi-line text like this:
>
> txt =: 0 : 0
> ab
> cd
> fg
> hi
> jk
> ij
> )
>
> I tried first executing the first line (txt =: 0 : 0) and then pasting (ctrl v) my text. The result was only 'ij'.
> I tried then to execute the first line and press F8 (run clipboard), getting 0!:101 inputx_jrx_ as a result.
>
> So, is there a way to assign multiline text to a noun without having to create a new ijs and running from there?
>
> Thanks.
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
More information about the Programming
mailing list