Problem with syntax error, unexpected ';'

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.

Problem with syntax error, unexpected ';'

Postby suxijian » Thu Jul 10, 2014 9:43 am

Hi, everyone,

I have a problem with the error informations appear in my sample code. The attachment is my sample code. The error informations are shown as below:

Starting Dynare (version 4.4.2).
Starting preprocessing of the model file ...
ERROR: newsample.mod: line 14, col 107: syntax error, unexpected ';'

??? Error using ==> dynare at 174
DYNARE: preprocessing failed

Actually, as a novice, this error always appear in my replication practices. It seems my typing code is right, and I always check out the related row and column and modify, but the error always still exists. Can someone take a look at my code and tell me how to correct the error?

Many thanks.
Attachments
newsample.mod
(795 Bytes) Downloaded 88 times
suxijian
 
Posts: 6
Joined: Mon Jun 02, 2014 9:37 am

Re: Problem with syntax error, unexpected ';'

Postby jpfeifer » Thu Jul 10, 2014 11:45 am

There are two openening brackets in line 14, but only one closing one. Also, dr_algo is not supported anymore.
Attachments
newsample.mod
(796 Bytes) Downloaded 90 times
------------
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 5 guests