Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: continue loop if file not found

From   daniel klein <>
Subject   Re: st: continue loop if file not found
Date   Fri, 6 May 2011 22:54:10 +0200

I understand that you do not want the do file to terminate, so
-continue- (alone) will not help.

You propably want to use -capture- prefix.

Try to code somehting like:

cap use filename`date'.dta
if _rc continue

See -help capture-

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index