Tim,
One way, at least for directly clicking on the do file (in Windows), is to edit
the file association for Stata do files.
My Computer -> View -> Folder Options -> File Types -> edit Stata do file ->
edit open task -> then change the "Application used to perform action:" to
C:\Stata8\wsestata.exe /m1 do %1 ,nostop
This will attach the -nostop- option to all do files that are opened by clicking
on them.
Scott
----- Original Message -----
From: "Tim Wade" <[email protected]>
To: <[email protected]>
Sent: Wednesday, February 04, 2004 11:26 AM
Subject: st: nostop in do files
> Hello Statalisters:
>
> I am using v. 8 on Windows 2000--
>
> I hope this question isn't too stupid, but I searched
> archives, faq's, and manuals.
>
> I usually run do files by either clicking on them
> directly, or opening them from Stata and clicking the
> run icon. Because of this, I find it inconvenient to
> type "do mydofile, nostop", when I want to prevent do
> files from stopping in the event of an error. Is there
> a way to specify this in the do file? I know I could
> have a second do file call it up, but would rather not
> do this. Including the line "do mydofile, nostop" at
> the top of the do file results in errors as well
> (after the program runs once), or endless loops (as
> would be expected!) Thanks! Tim
>
*
* 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/