On Thu, 23 May 2019, Cruz A. Echevarria wrote:
Hi Allin,
Thanks a million! It Works perfectly! How should I do to post a gratitude
message on the gretl-users forum so that everybody knows that you provided
the right answer? I mean, to go beyond a personal/private email message.
It's not necessary, all messages are archived. Look here:
https://gretlml.univpm.it/hyperkitty/list/gretl-users@gretlml.univpm.it/
Besides, there's a more modular solution, that involves slightly more
elaborate syntax and uses a vector
<hansl>
matrix c = {1,4}
series OECD = 0
loop i = 1 .. nelem(c)
OECD += ccode == c[i]
endloop
</hansl>
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------