Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

write output of for loop in pari to file

Hi all,

I would like to write the output of a for loop in Pari to a file named 'foo', However the output of a for loop has no numbering contrast with other output. If I look at the numbers labeling the outputs before and after the for loop and use that number in the following command

\w n foo

Then what I get in foo is 0. What happened and how can this be fixed?

click to hide/show revision 2
retagged

write output of for loop in pari to file

Hi all,

I would like to write the output of a for loop in Pari to a file named 'foo', However the output of a for loop has no numbering contrast with other output. If I look at the numbers labeling the outputs before and after the for loop and use that number in the following command

\w n foo

Then what I get in foo is 0. What happened and how can this be fixed?