Michael Somos on Fri, 21 Feb 2003 11:42:52 -0500


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

gp: variables


pari-dev,

As a further test along the lines I tried the following :

? test(v)= x=v[1]; y=v[2]; y=(y); fordiv(y/2,X,); return("abcdef"); 
? forstep(x=1,1,2,forstep(y=10,12,2,print(x" "y" ",[x,y]," ",test([x,y]))))
1 10 [1, 10] abcdef
abcdef 12 [1, 12] abcdef

Seems like a bug to me. Shalom, Michael