[Gretl-devel] Backward compatibility

Ignacio Diaz-Emparanza ignacio.diaz-emparanza at ehu.es
Wed Nov 7 10:52:16 EST 2007


El Wednesday 07 November 2007 16:20:55 Allin Cottrell escribió:
> On Wed, 7 Nov 2007, Ignacio Diaz-Emparanza wrote:
> > BTW, I cannot do it to work with the Windows snapshot too.
>
> Hmm, it works on the current Windows snapshot here (both in
> English and in Spanish).
>
> Could you please send me as an attachment the exact script you're
> running?  Thanks!
>

Yes, I am runnig exactly the script you sent to this list (it is in the 
attachment).

I have just downloaded gretl now from CVS and executing gretl in a xterm and 
running the script I obtain the following error:

$gretl -e
setlocale(LC_NUMERIC, "es_ES.UTF-8") returned es_ES.UTF-8
sillyfun: invalid return type 0



-- 
Ignacio Diaz-Emparanza  
DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA)                                        
UPV/EHU
Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
T.: +34 946013732 | F.: +34 946013754
www.et.bs.ehu.es 
-------------- next part --------------
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"
list alist = sillyfun(sname, nocars)
print alist


More information about the Gretl-devel mailing list