Hi,
I am using gretl 2016b-git on Windows (x86_64) with build date 2016-02-02.
I ran the following script:
scalar anzahl = 1000
nulldata anzahl
setobs anzahl 1:0001 --special-time-series
The log script follows:
? scalar anzahl = 1000
Generated scalar anzahl = 1000
? nulldata anzahl
periodicity: 1, maxobs: 1000
observations range: 1 to 1000
? setobs anzahl 1:0001 --special-time-series
'anzahl': not a scalar
starting obs '1.0001' is incompatible with frequency
Error executing script: halting
> setobs anzahl 1:0001 --special-time-series
Why is anzahl not a scalar? I explicitly declared it to be so.
How can I make the first observation 1:0001 depending on anzahl? Should I build a string?
Thank you and kind regards,
Thorsten