How can I create and save a file under PARI/GP?

212 Views Asked by At

This is the first time I'm working with PARI/GP under Windows. I have to create a file and save it to write my code.

I tried the \r and \w and didn't work. I couldn't also find much documentation. How could I do it?

1

There are 1 best solutions below

0
Charles On

You can read with read, readstr, readvec, fileread, and filereadstr. Try typing ?read, for example, to see the quick help entry for that command.

Likewise, you can write with write, write1, writebin, writetex, filewrite, and filewrite1.