Bug in Error Message : vector-series-coefficient
Posted: Fri Aug 03, 2012 12:18 am
I am getting a strange error when I run some code and wasted many hours trying to work out what is wrong as the error message has nothing to do with what I am doing. I am using EV7.2
If (-di_jp_uk(-1)+(1200*(FDS_JPYGBP_ZM/S_JPYGBP(-1)))>1) then
series rFS_JPYGBP_ZM = (-di_jp_uk+(1200*(D(S_JPYGBP)/S_JPYGBP(-1))))
else
series rFS_JPYGBP_ZM = (di_jp_uk(-1)-(1200*(D(S_JPYGBP)/S_JPYGBP(-1))))
endif
Crashes on the if condition with the error
-1 is not a valid index for vector-series-coefficient S_JPYGBP in "IF (-DI_JP_UK(-1)+(1200*(FDS_JPYGBP_ZM/S_JPYGBP(-1)))>1) THEN ...
I am not using a vector, or a coefficient of any sort , it is an ordinary time series !
I have checked all the series names in the if statement they exist and are fine. when I execute the "series test = 1200*(FDS_JPYGBP_ZM/S_JPYGBP(-1))" on the command line to create a series to test it , that works fine, but it does not work in the if statement.
I think this is a Bug and am getting desperate - help please Gareth.
If (-di_jp_uk(-1)+(1200*(FDS_JPYGBP_ZM/S_JPYGBP(-1)))>1) then
series rFS_JPYGBP_ZM = (-di_jp_uk+(1200*(D(S_JPYGBP)/S_JPYGBP(-1))))
else
series rFS_JPYGBP_ZM = (di_jp_uk(-1)-(1200*(D(S_JPYGBP)/S_JPYGBP(-1))))
endif
Crashes on the if condition with the error
-1 is not a valid index for vector-series-coefficient S_JPYGBP in "IF (-DI_JP_UK(-1)+(1200*(FDS_JPYGBP_ZM/S_JPYGBP(-1)))>1) THEN ...
I am not using a vector, or a coefficient of any sort , it is an ordinary time series !
I have checked all the series names in the if statement they exist and are fine. when I execute the "series test = 1200*(FDS_JPYGBP_ZM/S_JPYGBP(-1))" on the command line to create a series to test it , that works fine, but it does not work in the if statement.
I think this is a Bug and am getting desperate - help please Gareth.