Adam Majewski wrote:
> Hi,
>
> I have a list of integers :
> a: [1,0,0]
>
> ...
>
Try
with_stdout("tmp.txt", for i:1 thru length(a) do ?print(i))
where you are using the underlying lisp program 'print'.
There are other ways of doing formatted printing from Maxima but
this is pretty simple.