text output



Hi,

I have a list of integers :
a: [1,0,0]

I want to save it as a list of integer ( one in a line)  in a text file :

1
0
0

I have tried :
with_stdout("tmp.txt", for i:1 thru length(a) do disp(a[i]));

but there are extra characters ( from lisp expression probably).
Is it possible to make save only numbers ?

Regards

Adam