Charles Greathouse on Sun, 18 Sep 2011 22:28:27 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Writing to files


The GP command is correct.  It's possible that you're trying to write
to a folder for which you do not have write permission.  That seems
likely since you appear to be using Windows; I think versions Vista
and above don't allow writing to Program Files by default, including
Program Files\PARI.

Charles Greathouse
Analyst/Programmer
Case Western Reserve University

On Sun, Sep 18, 2011 at 3:56 PM, ralph newman <ralphnewman46@hotmail.com> wrote:
>
>
>> Date: Sun, 18 Sep 2011 19:48:17 +0200
>> From: Henri.Cohen@math.u-bordeaux1.fr
>> To: ralphnewman46@hotmail.com
>> Subject: Re: Writing to files
>>
>> This is too imprecise. Something like
>>
>> write("file.gp",pariobject)
>>
>> works. If it doesn't, please specify the version
>> and platform you are using (windows?).
>>
>> Please reply to the list, not to me.
>>
>> Best,
>>
>> H. C.
>>
>>
> I am using  Version 2.3.4, and Windows Vista. With %1=10,
> write("file.gp",%1) gave error: error opening output file: file.gp
>
> Ralph Newman
>