Tom Gettys on Sun, 26 Nov 2006 22:44:43 +0100


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

RE: PARI


Thank you very much for your response Bill.  So, just to be clear, there is
no way to compose a multiline script within PARI, and no way to modify one
that I read in from a file, correct?  Also, I presume that after file is
read using the \r command PARI starts to execute the script immediately
(that is, there is no GO or RUN command).

Tom Gettys
2929 Warren Street
Eugene, Oregon 97405
(541) 683-1940
http://home.comcast.net/~tpgettys/
 
To dream of the person you would like to be
is to waste the person you are.
 

-----Original Message-----
From: Bill Allombert [mailto:Bill.Allombert@math.u-bordeaux1.fr] 
Sent: Sunday, November 26, 2006 1:39 AM
To: pari-dev@list.cr.yp.to
Subject: Re: PARI

On Sat, Nov 25, 2006 at 10:02:19PM -0800, Tom Gettys wrote:
> I am sorry for such a simple question, but I have to ask: the
documentation
> and tutorial suggest that a PARI program (script?) can be written, but I
do
> not see how to invoke the program editor.
> 
> I am a professional programmer, so I don't need help in that regard, but
> just how to compose and submit a program to PARI.

Pick up any text editor, write your program and save it to foo.gp,
start gp and issue 
\r foo

Cheers,
Bill.