Thanks for your quick reply, it worked.
Kind regards,
Thorsten
-----Ursprüngliche Nachricht-----
Von: gretl-users-bounces(a)lists.wfu.edu [mailto:gretl-users-bounces@lists.wfu.edu] Im
Auftrag von Sven Schreiber
Gesendet: Sonntag, 1. Mai 2016 13:33
An: gretl-users(a)lists.wfu.edu
Betreff: Re: [Gretl-users] setobs using variables
Am 01.05.2016 um 10:09 schrieb Wingenroth, Thorsten:
scalar anzahl = 1000
nulldata anzahl
setobs anzahl 1:0001 --special-time-series
Why is anzahl not a scalar? I explicitly declared it to be so.
'nulldata' makes tabula rasa, deleting all existing variables including scalars.
Append the '--preserve' option and it should work.
BTW, I noticed that the "including scalars" (and probably other variable
types) part is not reflected in the documentation which only talks about matrices. So this
is a documentation bug and the doc for nulldata should be updated.
thanks,
sven
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users