I thought I should post a quick example based on the help received
load 'csv'
'1,2,3,4,5' fwrite 'l4.csv'
a=: readcsv jpath 'l4.csv'
$ a
1 5
NB. from right to left: cut into atoms ;.0 unbox > convert (".)
raise (i.e. reduce shape from 1 5 to 5);
] b=:;(".)&>;.0 a
5 4 3 2 1
$ b
5
+/ b
15
Re: "from your use of makenum". I did a search for csv on the jsoftware site
and did quite a bit of reading prior to bothering the forum. That's one of
the things I came up with to explore (wasn't sure if it was system or
community supplied at that point). I hadn't installed the 'tables/csv'
addon.
There was also a weird error with my J installation whereby trying to see
the contents of the verb would fail (e.g. 13 : '+:'). I reinstalled to the C
drive rather than my home drive which had automatic UNC paths. Perhaps
there's an issue here. In any case, being superstitious about UNC paid off.
thanks for the help.
Steven
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm