[Jprogramming] J Scripts
Björn Helgason
gosinn at gmail.com
Thu Oct 13 19:19:50 HKT 2011
https://groups.google.com/forum/?hl=is#!searchin/j-programming/browser/j-programming/uJFqU-ZSl-s/g2iMCB11210J
2011/10/13 David Vaughan <purpleblues13 at googlemail.com>
> 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
> > <purpleblues13 at googlemail.com> 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: gosinn at 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 |
( -. | `-----------------------------------'
| ) | (\_ _/)
(`-. '--.) (='.'=) ♖♘♗♕♔♙
`. )----' (")_(") ☃☠
More information about the Programming
mailing list