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

RE: st: RE: Trouble with confirm and looping.


From   adiallo5@worldbank.org
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: RE: Trouble with confirm and looping.
Date   Wed, 4 Aug 2004 14:26:37 -0400

Hi Nick,
It's ok,
I find a way to get around the problem.
Thanks.



                                                                                                                                           
                      "Nick Cox"                                                                                                           
                      <n.j.cox@durham.ac.uk>           To:       <statalist@hsphsun2.harvard.edu>                                          
                      Sent by:                         cc:                                                                                 
                      owner-statalist@hsphsun2.        Subject:  RE: st: RE: Trouble with confirm and looping.                             
                      harvard.edu                                                                                                          
                                                                                                                                           
                                                                                                                                           
                      08/04/2004 02:00 PM                                                                                                  
                      Please respond to                                                                                                    
                      statalist                                                                                                            
                                                                                                                                           
                                                                                                                                           
                                                                                                                                           
                                                                                                                                           




You need to sort out the other problem
I mentioned.

Nick
n.j.cox@durham.ac.uk

adiallo5@worldbank.org

> Sorry,
> This is a mistake when sending the email.
> But I still have the same problem.
> The question is how to deal with the missing of
> some variables through the loop on the countries.
>
> I see a typo here.
>
> Your local macro -country- is not defined, i.e. empty.
>
> You could try
>
> foreach i of local countries {
>              ...
> }
>
> except that your loop makes no reference to the
> particular country, so I doubt that this code will do
> what you want it to. It looks as if it will do the
> same each time around the loop.
>
> Nick
> n.j.cox@durham.ac.uk

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




*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index