![Statalist](/includes/images/head_statalist.jpg) |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Forvalues, syntax error
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/