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" <>
To   <>
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

1) remains vital and 3) remains important.


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:

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