write output of for loop in pari to file

asked 2016-02-08 03:36:16 +0200

Dianbin Bao gravatar image

updated 2016-03-08 21:02:17 +0200

FrédéricC gravatar image

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?

edit retag flag offensive close merge delete