[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: uknown error: r(9611)
Thank you Alan.
I will debug my code. I thelps to know the problem is related to a while
loop -- I be able to trace the problem better.
> Edward F. Blackburne (firstname.lastname@example.org) asked about error code 9611:
>> I have been working on a file and this morning received an error that I
>> not understand and Stata help has no information.
>> after a program drop _all
>> I called my program. Here is the results screen:
>> xtpmg d.c d.pi d.y, lr(l.c pi y)
>> (error occurred while loading xtpmg.ado)
>> I will note that I believe I have an unmatched brace in my code which I
>> currently tracking down, but...
> I looked up r(9611) in the source code. It is related to a -while- loop.
> To Stata, the contents of a -while- loop are actually a mini program.
> That program must be stored in memory so that it can be executed over
> and over. Stata assigns an internal name to the contents of each
> -while- loop so that it can look that 'program' up later to execute it.
> r(9611) only occurs if Stata is unable to look up the -while- 'program'
> that it thinks it just read in from an ado-file. Given that Edward
> believes he has an unmatched brace in his code, I suspect that this
> is what is causing the problem.
> Edward can use the brace-matching feature of an editor like
> Stata's Do-file Editor or vi to help find the missing brace.
> * 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/
Edward F. Blackburne III, PhD
Economics and International Business
Sam Houston State University
* For searches and help try: