From r.lucchetti@univpm.it Tue May 25 02:08:29 2010 From: Riccardo (Jack) Lucchetti To: gretl-users@gretlml.univpm.it Subject: Re: [Gretl-users] Loop question Date: Tue, 25 May 2010 08:08:26 +0200 Message-ID: In-Reply-To: AANLkTimVJCvrxlNi_4zVf4CYfKvMwv0ocbJGrMkSMffI@mail.gmail.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9042103702608371052==" --===============9042103702608371052== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tue, 25 May 2010, Henrique Andrade wrote: > Dear Gretl Community, >=20 > I'm trying to use a loop index inside a script but I don't know how. Accord= ing > to "Gretl User=E2=80=99s Guide" the syntax looks like this: >=20 > loop i=3D1..24 >=20 > But I just need the points where "i" is equal to 6, 12 and 24. Something li= ke this: >=20 > loop i=3D6;12;24 >=20 > How can I do that? For example, this way: Riccardo (Jack) Lucchetti Dipartimento di Economia Universit=C3=A0 Politecnica delle Marche r.lucchetti(a)univpm.it http://www.econ.univpm.it/lucchetti --===============9042103702608371052==--