min/max @date

For questions regarding programming in the EViews programming language.

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

tchaithonov
Posts: 168
Joined: Mon Apr 13, 2009 7:39 am
Location: New York City

min/max @date

Postby tchaithonov » Wed May 12, 2010 8:16 am

Hey Guys,

I just updated my eviews to the latest release (May 11) and found out that some codes don't work anymore, namely the following:

Code: Select all

alpha wkbegin = @datestr(@min(@date), "mm/dd/yyyy") alpha wkend = @datestr(@max(@date), "mm/dd/yyyy")
This is used to detect the week of the first & the last data points in the range, and it worked perfectly before (it works on the April 20 build). I wonder why it's not working anymore.

Tchaithonov

tchaithonov
Posts: 168
Joined: Mon Apr 13, 2009 7:39 am
Location: New York City

Re: min/max @date

Postby tchaithonov » Wed May 12, 2010 8:18 am

To provide you with more info, "show @date" works, but if you do @min(@date), it starts complaining that" @date is an illegal or reserved name".

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

Re: min/max @date

Postby EViews Gareth » Wed May 12, 2010 8:38 am

Yep, the latest patch broke a few things. We're working on it...

In the mean time you can revert back to the old patch by re-downloading it.

tchaithonov
Posts: 168
Joined: Mon Apr 13, 2009 7:39 am
Location: New York City

Re: min/max @date

Postby tchaithonov » Wed May 12, 2010 8:53 am

Cool thanks. Let me know if I can help with testing.

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

Re: min/max @date

Postby EViews Gareth » Wed May 12, 2010 9:31 am

New patch is up, that should fix it.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest