Anna-Lisa Pierre
>
> I am trying to use the 'tempvar' command so that I do not have to drop
> variables at the end. However, I am having problems using this
> within loops.
> Are 'tempvar' and 'tempname' not supposed to be used within
> loops? The part
> of my programme that is giving trouble is as follows:
> Any insights will be gratefully appreciated.
>
< long code fragment deleted
There is no objection to using -tempvar-
and -tempname- within loops whenever that
makes sense.
This question is very difficult to answer
unless you tell us where your program
stops and what Stata says. -set trace on-
first.
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/