Ok the answer to this is "echo" per this docs:
http://www.jsoftware.com/help/user/hashbang.htm
On 5/18/07, Terrence Brannon <[EMAIL PROTECTED]> wrote:
Ok, how can I get some output from this program.
#!jconsole
1 {:: ARGV
exit''
On 5/17/07, Raul Miller <[EMAIL PROTECTED]> wrote:
> On 5/17/07, Terrence Brannon <[EMAIL PROTECTED]> wrote:
> > Sample execution:
> > shell> ./jscript 4
> > 3 added to this number is 7
> >
> > Also, what is the name of the program in the J distribution which
> > would run such a script?
>
> jconsole
>
> Useful pages:
> http://www.jsoftware.com/jwiki/Guides/Standalone_Applications
> http://www.jsoftware.com/help/user/cmdline.htm
> http://www.jsoftware.com/help/user/hashbang.htm
>
> (That last one is mostly for unix)
>
> Also, in your above example, the number from the command line would be
> 0".2{::ARGV
>
> 0 {:: ARGV would be the name of the j executable, and
> 1 {:: ARGV would be the name of your script, so
> 2 {:: ARGV is your first command line argument.
>
> --
> 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