Many thanks. The idea is to then create a candidate list for deletion. The if statement helps fill the list and then we can delete the list in the end. Allin's example works very well.

--
Filipe Rodrigues da Costa
Send me an email to: filipe@pobox.io
Reach me through Telegram at: https://t.me/rodriguesdacosta



On Fri, 12 Oct 2018, at 14:24, Sven Schreiber wrote:
Am 12.10.2018 um 15:15 schrieb Allin Cottrell:
On Thu, 11 Oct 2018, Filipe Rodrigues da Costa wrote:



Let's say I have  series1, series2, ...,series100. I want to delete all
series with less than 20 observations. But, Gretl doesn't allow this
kind of massive deletion.

What exactly do you mean by "doesn't allow"? I suspect that you get some error message like "series in use", right?

If so, you could perhaps start a fresh gretl session. The 'clear' command might be enough.
cheers,
sven

_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users