I have a text file that looks like this:

col1,col2,col3
abc,c101,1
def,c102,1
ghij,c201,2

the file name is "tst1.csv"

The location of the file is C:\tst1.csv

i want to read the file into a boxed J array
​called "list"​

​list

┌────┬────┬────┐
│col1│col2│col3│
├────┼────┼────┤
│abc │c101│
​  ​
1
​ ​
│
├────┼────┼────
​​
┤
│def │c102│
​   ​
1
 ​
│
├────┼────┼────┤
│ghij│c201│
​   ​
2
   ​
│
└────┴────┴────┘

What utilities have
​t​
o be loaded
​to do this?
What are the load commands?
What is the file-read, path, and assignment command(s) required to do this?

​Skip​

Skip Cave
Cave Consulting LLC
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to