Statalist


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

Re: st: Forvalues, syntax error


From   "Neil Shephard" <[email protected]>
To   [email protected]
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 - [email protected] / [email protected]
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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index