View Single Post
Old 2012-10-28, 01:27   #2
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

597910 Posts
Default

Presumably it's trying to access the global variable i, but there are no global variables since you're not in gp. Try changing

i=e;

into

my(i=e);

in the GP script to make the variable local, then see if it works. Also don't forget to use the -g option when running gp2c.
CRGreathouse is offline   Reply With Quote