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