https://groups.google.com/forum/?hl=is#!searchin/j-programming/browser/j-programming/uJFqU-ZSl-s/g2iMCB11210J

2011/10/13 David Vaughan <[email protected]>

> What I mean, is that I would like to be able to write some J in an external
> file, and then run it from the browser window. I don't currently have a
> specific purpose - I would just like to know for future reference.
>
> On 13 Oct 2011, at 12:11, Raul Miller wrote:
>
> > On Thu, Oct 13, 2011 at 6:46 AM, David Vaughan
> > <[email protected]> wrote:
> >> Hi, how do I go about writing a script? How does it differ from writing
> your code in the browser? For example, say I wanted a script to test the
> primality of i.10, how would it look?
> >
> > "script" is a potentially ambiguous term.
> >
> > One meaning of script is a multi-line definition in J:
> >
> > example=: 3 :0
> >   smoutput 'this is a script'
> >   y
> > )
> >
> > If this is not what you want, please describe what you are trying to
> > achieve and where it goes awry.
> >
> > Thanks,
> >
> > --
> > Raul
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> 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: [email protected]
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