Page 1 of 1

min/max @date

Posted: Wed May 12, 2010 8:16 am
by tchaithonov
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

Re: min/max @date

Posted: Wed May 12, 2010 8:18 am
by tchaithonov
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".

Re: min/max @date

Posted: Wed May 12, 2010 8:38 am
by EViews Gareth
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.

Re: min/max @date

Posted: Wed May 12, 2010 8:53 am
by tchaithonov
Cool thanks. Let me know if I can help with testing.

Re: min/max @date

Posted: Wed May 12, 2010 9:31 am
by EViews Gareth
New patch is up, that should fix it.