You can run multiple lines from the clipboard. I defined the following onto an available function key skipping the copy to an ijs window. Then pressing that function key displays and runs the contents of the clipboard,
0!:101]11!:0'clippaste' On Wed, Sep 29, 2010 at 11:51 AM, Dan Bron <[email protected]> wrote: > You can't copy/paste multiple lines into the IJX window. [1] > > For multi-line explicit definitions, paste it into a IJS window (a J > script: try CTRL+N), then run the window (try CTRL+W or CTRL+SHIFT+W). > > Also, replace y. with y (delete the trailing dot). Do this everywhere you > see any one of y. x. u. v. m. or n. . > > > -Dan > > [1] For some reason, the J frontend distinguishes between the keystroke > <ENTER> and the character newline. > > The next version of J, J7, has a frontend that fixes this problem. > > > > Please excuse typos; composed on a handheld device. > > -----Original Message----- > From: [email protected] > Sender: [email protected] > Date: Wed, 29 Sep 2010 16:31:11 > To: <[email protected]> > Reply-To: Programming forum <[email protected]> > Subject: [Jprogramming] quadratic equation primer example gives syntax > error > > > > Does anyone know why I get this syntax error? > > > > > rq =: 3 : 0 > 'a b c' =: y. > ((-b) (+,-) %: (b^2)-4*a*c) % (2*a) > ) > |syntax error > | ) > > Thank you, > > Don Mintz > ---------------------------------------------------------------------- > 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
