Selective file copy: Difference between revisions
Content added Content deleted
m (→{{header|J}}: oops) |
m (→{{header|J}}) |
||
Line 630: | Line 630: | ||
So that's the characters of the records from the file. We can assign these records to variables -- one for each column:<lang J> 'A B C D'=: |:_20 ((##\)5 5 5 5)&(</.)\fread 'example' |
So that's the characters of the records from the file. We can assign these records to variables -- one for each column:<lang J> 'A B C D'=: |:_20 ((##\)5 5 5 5)&(</.)\fread 'example' |
||
A NB. first column |
|||
A |
|||
A |
A |
||
AA |
AA |