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

st: Re: nostop in do files


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: nostop in do files
Date   Wed, 4 Feb 2004 18:22:53 -0600

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" <wade_tj@yahoo.com>
To: <statalist@hsphsun2.harvard.edu>
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/



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