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
[email protected]
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/