File create

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

javiersan
Posts: 184
Joined: Mon Jan 19, 2009 8:18 am

File create

Postby javiersan » Wed Mar 25, 2009 3:57 am

Hi,

I want to create a file with observations up to the latest possible quarter given today's date. The ony commands that occur to me are:
wfcreate(wf=test) q 1990q1 @datepart(@now,"yyq")

but unfortunately it doesn't work.

Do you have any ideas on how to solve this?

Thanks,

Javier

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

Re: File create

Postby EViews Gareth » Wed Mar 25, 2009 8:15 am

Code: Select all

%a = @datestr(@now)
wfcreate(wf=test) q 1990q1 {%a}
Follow us on Twitter @IHSEViews

javiersan
Posts: 184
Joined: Mon Jan 19, 2009 8:18 am

Re: File create

Postby javiersan » Wed Mar 25, 2009 9:20 am

Thanks Gareth.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 63 guests