On Tue, 29 Oct 2013, Sven Schreiber wrote:
Am 29.10.2013 18:55, schrieb Allin Cottrell:
> On Tue, 29 Oct 2013, Sven Schreiber wrote:
>
>> I get this funny message when I do 'clear --dataset' in a script on
>> 1.9.13 (Windows):
>>
>> "Sorry, the clear command is not yet implemented in libgretl"
>>
>> This must be misleading, right?
>
> Is this inside a function or something? It works here in a regular script
> context (on Linux, but that shouldn't make any difference).
>
No function, just nested loop layers... run from the script editor /GUI.
OK, I see. Actually, the error message you cite is (or was) quite correct,
strictly speaking. The "clear" command was not implemented in libgretl,
rather it was implemented in the two client programs, gretl and gretlcli.
And when you're running a loop, all commands are processed by the library,
not the client.
However, in today's CVS/snapshots I've tried enabling "clear" in loops.
Please report any bad behaviour that results!
Allin