Thank you Raul.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Raul Miller
Sent: Wednesday, February 13, 2008 12:12 PM
To: Programming forum
Subject: Re: [Jprogramming] Indirect assignment

On 2/13/08, Lettow, Kenneth <[EMAIL PROTECTED]> wrote:
> I want to be able to assign the field names to the proper columns in
> the rest of the data (i.e.)
>        load 'csv'
>        data=: readcsv "file.csv"

   ({.data)=:|:}.data

Or, if you do not want your data unboxed
      ({.data)=:<"1|:}.data

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

Reply via email to