Bill Allombert on Wed, 20 Sep 2006 11:14:25 +0200


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

Re: Defining variable priority [technology preview]


On Wed, Sep 20, 2006 at 12:23:14AM +0200, Bill Allombert wrote:
> Hello PARI-dev,
> 
> This is an experimental patch that allow to define new variables with
> specified priority under GP.
> 
> This patch replace the varncmp() macro by a function that look up
> assigned priorities.
> 
> It adds a GP function newvar which allow to create a new variable with
> a specified priority (priority of x is 0).

Actually it did not because it was missing the chunk below.

Cheers,
Bill.
--- /dev/null	2006-05-11 11:25:12.000000000 +0200
+++ src/functions/programming/newvar	2006-09-19 23:51:01.000000000 +0200
@@ -0,0 +1,6 @@
+Function: newvar
+Section: programming
+C-Name: newvar
+Prototype: vrL
+Help: newvar(var,p): create a new variable named var of priority p. 
+