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

RE: st: Re: how to save ado files


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Re: how to save ado files
Date   Fri, 28 Nov 2003 17:22:16 -0000

Not quite. You can automate the -discard-
within an .ado calling up your text editor (which
could be .doedit). This and
other editor tips are documented at
http://fmwww.bc.edu/repec/bocode/t/textEditors.html

1) remains vital and 3) remains important.

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

R. Allan Reese

> While it is a convenient development environment in many ways,
> Stata+editor does require the user to remember various steps in
> sequence *every time*:
> 1) save "program something" in something.ado, but you don't have to
>    exit the editor,
> 2) if you have called the previous version in the Stata session,
>    use "discard" or it will show you the same error,
> 3) write code that does not change the data irreversibly.
>    "sortpreserve" is a fantastic option for programmers.

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