Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Forvalues, syntax error


From   "Neil Shephard" <nshephard@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Forvalues, syntax error
Date   Thu, 5 Jul 2007 14:48:15 +0100

Thats quite a bit of code for people to read through.

You could try "debugging" this by using the -set trace on- and setting
an appropriate -tracedepth- and then running your do-file.

Something like...

. set trace on
. set tracedepth 2
. do [your-do-file]

..will be more verbose, and should allow you to see which line is
causing your problem.  This would be a lot quicker than others trying
to read through the syntax.

If your not sure why the offending line is invalid post that
particular line as its interpreted to the list and someone might be
able to say what is wrong with the syntax.

Neil

--
"In mathematics you don't understand things. You just get used to
them."  - Johann von Neumann

Email - nshephard@gmail.com / n.shephard@sheffield.ac.uk
Website - http://slack.ser.man.ac.uk/
Photos - http://www.flickr.com/photos/slackline/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index