On 5/17/07, Dan Bron <[EMAIL PROTECTED]> wrote:
That would lengthen the solution.  To compensate, you might
consider that there's no reason to make the solution a stand-alone,
assignable verb (which won't work with  1!:1]3   anwway).
You could probably save some characters by using an immex
expression instead (i.e. skip the  @  and the  [:  and all that).

An interesting non-specification is the bit about how the
code gets invoked.

I expect that the author of the contest thought unix command
line was implied, but of course it was not specified.

Also note that there's no need to explicitly write to stdout -- if you're
running from jconsole, you're already doing that.

(That said, I do wish that writing a J program to act as a unix/cygwin
command line, reading from stdin and writing to stdout by default, and
exiting with a non-zero exit code by default on error, would be easier.)

--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to