syntax error, expecting EQUAL

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

syntax error, expecting EQUAL

Postby BensonCan » Tue Apr 19, 2016 6:35 am

project 2.mod
(1.26 KiB) Downloaded 57 times

Hi,guys
i am a new comer in dynare, and i am doing my project. But i cannot run the dynare code.
Nothing in line 32seems to be wrong, but dynare reports "syntax error, expecting EQUAL.
Like the following:
Starting Dynare (version 4.4.3).
Starting preprocessing of the model file ...
ERROR: final2.mod: line 32, col 157: syntax error, unexpected EQUAL

Can u help me figure it out? Thanks a lot!
BensonCan
 
Posts: 3
Joined: Tue Apr 19, 2016 6:28 am

Re: syntax error, expecting EQUAL

Postby jpfeifer » Tue Apr 19, 2016 6:48 am

The first bracket in that line 32 never closes.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: syntax error, expecting EQUAL

Postby BensonCan » Tue Apr 19, 2016 3:50 pm

jpfeifer wrote:The first bracket in that line 32 never closes.

hi,actually, i do not understand ur reply, can u tell me what should i do?
Thank u very much.
BensonCan
 
Posts: 3
Joined: Tue Apr 19, 2016 6:28 am

Re: syntax error, expecting EQUAL

Postby jpfeifer » Tue Apr 19, 2016 6:19 pm

Go to line 32 in that file. There is an equation that start with a bracket
Code: Select all
(

but there is no corresponding closing bracket
Code: Select all
)

Instead, there is an equal sign that occurs before the bracket has been closed.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 9 guests