Page 1 of 1

problem using @otod

Posted: Sat Sep 28, 2024 7:02 am
by zezza
I need to replicate the example on p.159 of the Command and Programming Reference manual for Eviews 13.
I want to create a table extracting values from a quarterly time series.
If I write

show @elem(gdp, @otod(2))

I get the error message "Illegal date @otod(2)"

If I write

%date=@otod(2)
show @elem(gdp, %date)

Eviews returns the right value

Re: problem using @otod

Posted: Sat Sep 28, 2024 10:03 am
by EViews Gareth
Yes, just a quirk of the EViews programming language.

Re: problem using @otod

Posted: Sat Sep 28, 2024 10:38 am
by zezza
thank you for such a quick reply!
Maybe it is good to update the manual that suggests the wrong code...