[Gretl-devel] bug: printf

Ignacio Diaz-Emparanza ignacio.diaz-emparanza at ehu.es
Wed May 16 12:09:20 EDT 2007


nulldata 100
series y=normal()
printf "mean(y)=%5.4f\n", mean(y)


This works ok, but if you forget the comma:

printf "mean(y)=%5.4f\n" mean(y)

gretl crashes. 
This is a syntax error but I think gretl should report it, not crash.

(As before: gretl downloaded yesterday from the CVS and running in Kubuntu 
Linux)


-- 
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 



More information about the Gretl-devel mailing list