Thanks. I will update my gretl install and try to crash it. ;-) 

Quick question,  is a string ok for the second argument? The help indicates a comand line (RHS of the assignment statement) without quotes. I have been putting a string variable in and it works. But is this an abuse of the function on my part? 

Logan 


Sent from my T-Mobile 4G LTE Device


-------- Original message --------
From: Allin Cottrell <cottrell@wfu.edu>
Date:01/08/2015 12:15 PM (GMT-06:00)
To: Gretl development <gretl-devel@lists.wfu.edu>
Cc:
Subject: Re: [Gretl-devel] Possible issue with genseries()

On Wed, 7 Jan 2015, Logan Kelly wrote:

> The following script fails on gretl cvs build date 2015-01-07
> running on Win 7 64 bit while the example code in help works fine.
>
[...]
> loop i = 1.. 10
>    SeriesName = sprintf("test%d",i)
>    list1 += genseries(SeriesName, x * y)
> endloop

This idiom will now work OK. (It's no longer necessary to quote the
expression "x * y", the workaround I mentioned yesterday.)

> Also, I cannot figure out how to reliably replicate this. But
> sometimes gretl terminates unexpectedly on the second time a script
> is run when something (I am not sure what) is wrong with a
> genseries() call.

In looking into this I found a possible cause of flakiness in
genseries(), which should also be fixed now (CVS and snapshots).

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