at the heart of sp you have sprunner

   sprunner__
3 : '0!:111 y'
   sprunner__ '2+2'
   2+2
4
   sprunner__ '2+2',LF,'3+3',LF,'4+4'
   2+2
4
   3+3
6
   4+4
8


2011/12/19 Steven Taylor <tayl...@gmail.com>

> found this example which works:
>
> PosDiff =: 4 : ('la =. x >. y', LF, 'sm =. x <. y', LF, 'la - sm')
> was trying to build a string externally with a linefeed though.
>
> On 19 December 2011 17:20, Steven Taylor <tayl...@gmail.com> wrote:
>
> > Hi,
> >
> > On 602 under windows, in the script window you can highlight several
> lines
> > and then hit Ctrl+R.
> >
> > So how do we achieve the same thing over the COM interface?
> >
> > Is there a new line character defined that allows J to execue something
> > like a multiline verb define via the COM .Do() method?
> >
> > thanks,
> > -Steven
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: gos...@gmail.com
gsm: +3546985532
twitter: @flugfiskur
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to