[Gretl-devel] Backward compatibility

Allin Cottrell cottrell at wfu.edu
Wed Nov 7 09:33:27 EST 2007


On Wed, 7 Nov 2007, Ignacio Diaz-Emparanza wrote:

> I just downloaded gretl from CVS and the script does not work (In Kubuntu 
> Linux). The output I obtain is 
> 
> gretl version 1.6.6.pre2
> Current session: 2007/11/07 10:00
> ? function sillyfun(string foo, series x)
> >   series @foo_f1 = x+x(-1)+x(-2)+x(-3)
> >   series @foo_f2 = x+x(+1)
> >   list outlist = @foo_f1 @foo_f2
> >   return list outlist
> > end function
> ? open data9-9
> 
> ...
> 
> ? string sname="nocars"
> Saved string as 'sname'
> ? list alist = sillyfun(sname, nocars)
> Data types not conformable for operation
> 
> Error executing script: halting
> > list alist = sillyfun(sname, nocars)

Do you see any additional error information if you run gretl from 
a terminal window (so that any stderr output is visible)?

Please also try inserting

 set echo on
 set messages on

as the first lines of sillyfun.  Thanks.

Allin.


More information about the Gretl-devel mailing list