> On 8/9/09, Rafa? Topolnicki <rtopolnicki at o2.pl> wrote:
>
>> (%i1) L:makelist([i,sin(i)],i,0,3);
>> (%o1) [[0, 0], [1, sin(1)], [2, sin(2)], [3, sin(3)]]
>> (%i2) write_data(L,"tmp.dat");
>> (%o2) done
>> (%i3) N:read_list("tmp.dat");
>> (%o3) [0, 0, 1, sin, (, 1, ), 2, sin, (, 2, ), 3, sin, (, 3, )]
>
> Well, the read_whatever functions don't expect
> general expressions. Did you mean to write numerical
> values? Then you want something like
> makelist ([i, float (sin (i))], i, 0, 3);
>
> HTH
>
> Robert Dodier
>
Not really. I would like to write general expressions. Manual says that
it writes the object. What exactly is the 'object'?
RT