bob therriault wrote:  
> I took a similar approach to Henry, but created a left argument
> first and then made the verb a dyad 
> 
> punct =: '';'-';'/'
> punct (;@(, each  1 0 3{ ]))"1 q

Any suggestions as to how to get rid of the terminating spaces in each 
line prior to output?  In other words, the output file should contain 
ONLY the text of each line, but not the terminating spaces, resulting 
in ragged (variously-lengthed) lines to write to a file.  (Right now, 
when I write your data to an output file, it contains all those extra 
space-wasting spaces at the end of each line of text.)  Yeah, I could 
write the code of the scripting language I use to automate a commercial 
application (the next step in my process) to trim those spaces as I 
read in the data, but that really shouldn't be necessary for data 
coming out of a language like J.  Thanks in advance for any suggestions 
you can make along this line!


Harvey

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

Reply via email to