Help, i can't use string for smpl range

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator

irparedes
Posts: 1
Joined: Wed Oct 25, 2017 9:09 am

Help, i can't use string for smpl range

Postby irparedes » Tue Jan 09, 2018 4:23 pm

Hi everybody,

I'm programming in Eviews9 for the job and I have a problem.
I have a date as string format (example 2015M09). I need use these string for define the range of smpl.

For example, for date as string x I need define:

smpl x @last

But, the program send me error message.

I need your help. Thanks you for everybody.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11775
Joined: Tue Sep 16, 2008 5:38 pm

Re: Help, i can't use string for smpl range

Postby EViews Gareth » Tue Jan 09, 2018 4:34 pm

Code: Select all

smpl {x} @last
Follow us on Twitter @IHSEViews

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11775
Joined: Tue Sep 16, 2008 5:38 pm

Re: Help, i can't use string for smpl range

Postby EViews Gareth » Tue Jan 09, 2018 4:35 pm

Strongly recommend reading (and understanding) slides 26-32:
http://www.eviews.com/Learning/programming_a.html
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: Baidu [Spider] and 6 guests