Dear Gretl Team,
I'm trying to use the sprintf as a function instead of a command and it is not working
here at my Windows Vista withe the latest Gretl snapshot.
Please take a look at the following script:
<hansl>
open australia.gdt
genr time
ols PAU const time
matrix T = $coeff./$stderr
scalar T_calc = abs(T[2,])
scalar T_tab = critical(t, $T, 0.05)
sprintf Test_1 "t-calculado: %f \n t-tabelado: %f", T_calc, T_tab
print "@Test_1"
string Test_2 = sprintf("t-calculado: %f \n t-tabelado: %f", T_calc, T_tab)
print "@Test_2"
</hansl>
Best regards,
Henrique
Enviado desde mi iPhone