[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Re: invalid file specification

From   "Hendri Adriaens" <>
To   <>
Subject   st: RE: Re: invalid file specification
Date   Sun, 8 Jul 2007 15:09:37 +0200

Hi Kit, 

> In this case a useful technique (which is easily disabled when you  
> get tired of seeing it) is just to put a line
> display "Now reading `bestand'"
> just before the insheet, which would make it obvious which 
> file it is  
> processing (if any error conditions occur within that file, for  
> instance) but would also show you that in fact the local had 
> not been  
> given a value.

Ok, that is a way to see what is happening.

> It is true that Stata does not make it easy to determine which line  
> is giving you grief in a loop context, but as Austin suggests good  
> old-fashioned debugging techniques work well. Putting output lines  
> into the do-file and just commenting them out when you no 
> longer need  
> them is one of those techniques.

Indeed, not easy at all. But your help will make it a bit easier. Thanks a

Best regards,

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index