Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: programming question


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   Re: st: programming question
Date   Fri, 31 Oct 2003 19:39:29 -0000

Thomas M�hlmann

> I am trying to simulate a self-written program but each time I type
>
> "simul programname , reps..."
>
> I get an error message like
>
> post __00005Y not found
> r(111);
>
> My program has more then 500 lines and I think this might be the
> problem.
> Is my guess right and has someone a solution?

That kind of length is not a problem. Rather there is
probably a small bug to do with local macro names.
You are trying to -post- something you haven't
assigned.

Use trace to see where the bug is:

. set trace on
. set tracedepth 1

Nick
[email protected]

*
*   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