On Sun, 1 May 2016, Sven Schreiber wrote:
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.
That doc issue is now fixed in git.
Allin