Karim BELABAS on Tue, 16 Jan 2001 13:28:49 +0100 (MET)


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

Re: custom prompt


[Igor:]
> I would like to set my gp prompt to contain current random seed as
> output by getrand().  Is it doable?

Not as the gp code stands (version 2.1).

The modifications needed to allow including the result of arbitrary GP
commands into the prompt ( e.g via a marker %Z{getrand()} ) string are
minimal. Since it would certainly make debugging easier, I'll try to do it.

      Karim.
-- 
Karim Belabas                    email: Karim.Belabas@math.u-psud.fr
Dep. de Mathematiques, Bat. 425
Universite Paris-Sud             Tel: (00 33) 1 69 15 57 48
F-91405 Orsay (France)           Fax: (00 33) 1 69 15 60 19
--
PARI/GP Home Page: http://www.parigp-home.de/