Ric Sherlock wrote:
> If you give a simple example of the initial CRLF-separated lists and the
> format of a vector post-processing it may be possible to simplify
> further.

Thanks to both you and Henry for your responses!

OK, here's a simple example:

Diskfile:    Vector: . . . . . . . . .     Diskfile:

3<CR><LF> --> 3 1 2 --> sort* --> 1 2 3 --> 1<CR><LF>
1<CR><LF>                                   2<CR><LF>
2<CR><LF>                                   3<CR><LF>

* or other operations, particularly set operations (and, or, not, 
dedupe, etc.)

The  <CR><LF>  <-->  <LF>  conversions are assumed above.

Essentially, I am calling the J server from a script written in another 
language, so that I can use J's fast array processing for handling one 
or two vanilla ASCII files exported from another application, and then 
creating a new vanilla ASCII file to reimport into that application.  I 
hope that gives some more context.  Thanks again!

Harvey


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

Reply via email to