Page 1 of 1

the compatibility between 4.0 and 3.65

PostPosted: Thu Jun 04, 2009 7:10 am
by zhiwei.xu
Dear all,
I write a code in v 4.0 which contains some macro-precessing language, it can run successfully. However, my boss only use v3.65, he asks me to write a copy in v3.65. Then, I uninstall my v4.0 and use v3.65 , and convert the codes into v 3.65 syntax. But the dynare always reports error, and it is odd that all the other codes I wrote before (in v3.65 syntax) cannot run successfully. Anyone has ever encountered this problem?
Thanks,

zhiwei

Re: the compatibility between 4.0 and 3.65

PostPosted: Fri Jun 05, 2009 11:00 am
by StephaneAdjemian
Dear zhiwei, The macro language is not available under dynare v3. Are you using this feature in the mod file? What is the error message?

Best, Stéphane.

Re: the compatibility between 4.0 and 3.65

PostPosted: Fri Jun 05, 2009 4:08 pm
by zhiwei.xu
StephaneAdjemian wrote:Dear zhiwei, The macro language is not available under dynare v3. Are you using this feature in the mod file? What is the error message?

Best, Stéphane.



Hi Stéphane, many thanks! The mod file I use does not contain Macro language. It can run successfully under v4.0, but when I uninstall v4 and run it under v3.65, dynare reports error, the message is as following:

??? Error using ==> dynare
syntax error at line 55


In particular, my mod file is:
....
model(linear);
....
....
end; // line 55
....



Best, zhiwei

Re: the compatibility between 4.0 and 3.65

PostPosted: Tue Jun 09, 2009 8:50 am
by StephaneAdjemian
Hi zhiwei, Can you post the mod file? I don't have enough information to help here...
Best, Stéphane.