Read_array Question



On Sat, 2011-12-31 at 15:14 -0800, Richard Fateman wrote:
> On 12/31/2011 2:06 PM, Thomas D. Dean wrote:
> > The simple way is to write:
> datalist:[
> > Qth ,23 ,41 ,a+bx,
> > Z9 , 3,  7 , 4,1 ]
> 
> or divide it into sublists like
>    [[a,b,c],  [d,e,f]]
> 
> 
The data files are existing.  I now use:

L:read_list("file name");
num_elem:length(L)/rows;
array(M,num_entries-1, rows-1);
fillarray(M,L);

this seems to work.

tomdean