#62: error message from histval syntax --------------------------+------------------------------------------------- Reporter: michel | Owner: sebastien Type: bug | Status: new Priority: minor | Milestone: Component: Preprocessor | Version: Keywords: | --------------------------+------------------------------------------------- if one writes wrongly
histval; y = 1; end;
instead of
histval; y(0)=1; end;
there is no error message with the line number where the error occurs
Note also that the reference manual is missleading because the (lag) doesn't appear in the syntax
#62: error message from histval syntax ---------------------------+------------------------------------------------ Reporter: michel | Owner: sebastien Type: bug | Status: new Priority: minor | Milestone: Component: Preprocessor | Version: Resolution: | Keywords: ---------------------------+------------------------------------------------
Comment(by michel):
this may be a more general problem with Matlab 7.9
Now I have error messages from the previous run that appear at the preprocessing step
#62: error message from histval syntax ---------------------------+------------------------------------------------ Reporter: michel | Owner: sebastien Type: bug | Status: new Priority: minor | Milestone: Component: Preprocessor | Version: Resolution: | Keywords: ---------------------------+------------------------------------------------
Comment(by sebastien):
Reference manual fixed in r3186.
#62: error message from histval syntax ---------------------------+------------------------------------------------ Reporter: michel | Owner: sebastien Type: bug | Status: closed Priority: minor | Milestone: Component: Preprocessor | Version: Resolution: invalid | Keywords: ---------------------------+------------------------------------------------ Changes (by sebastien):
* status: new => closed * resolution: => invalid
Comment:
I can't reproduce this with Dynare 4.1.0: it gives the right error message.
Closing that bug.