You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.2 KiB
Plaintext
88 lines
2.2 KiB
Plaintext
7 months ago
|
{smcl}
|
||
|
{* 5Aug2009}{...}
|
||
|
{* 17Jan2008}{...}
|
||
|
{* 06Nov2003}{...}
|
||
|
{hline}
|
||
|
help for {hi:adoedit} {right:manual: {hi:[R] none}}
|
||
|
{right:dialog: {hi: none} }
|
||
|
{hline}
|
||
|
|
||
|
|
||
|
{title:Edit ado-file in Stata's do-file editor}
|
||
|
|
||
|
{p 8 17 2}{cmd:adoedit}
|
||
|
{it:cmdname}
|
||
|
{p_end}
|
||
|
|
||
|
{title:Description}
|
||
|
|
||
|
{p 4 4 2}
|
||
|
{cmd:adoedit} attempts to edit whichever ado-file named {cmd:cmdname.ado} is first on the
|
||
|
current {help adopath:adopath}. In Stata Version 10 and earlier, one cannot edit files
|
||
|
larger than 32,000 bytes in the do-file editor, nor can one edit built-in commands.
|
||
|
The file size limitation is removed for Stata Version 11 and later.
|
||
|
|
||
|
{p 4 4 2}
|
||
|
This routine is designed for use by those who are writing their own ado-files;
|
||
|
users are exhorted to make a copy of any official ado-files, and to save modified official
|
||
|
ado-files in the ado directory, rather than the Stata directory.{p_end}
|
||
|
|
||
|
{p 4 4 2}
|
||
|
{cmd:adoedit cmdname.ado}
|
||
|
is tolerated.{p_end}
|
||
|
|
||
|
{p 4 4 2}
|
||
|
After a successful edit, the {cmd:discard} command is issued so that Stata will load the
|
||
|
revised ado-file. This will also clear any estimates from the last estimation.{p_end}
|
||
|
|
||
|
{p 4 4 2}
|
||
|
If you wish to edit ado-files with a different text editor, please see
|
||
|
{stata findit fedit:fedit} and the {stata findit texteditors:texteditors} modules on the
|
||
|
{help ssc:SSC} archive.{p_end}
|
||
|
|
||
|
|
||
|
{title:Examples}
|
||
|
|
||
|
{p 4 8 2}{cmd:. adoedit tsspell}{p_end}
|
||
|
|
||
|
|
||
|
{title:Saved Results}
|
||
|
|
||
|
{p 4 8 2}
|
||
|
The {cmd:adoedit} command saves in {cmd:r()}:{p_end}
|
||
|
|
||
|
{synoptset 20 tabbed}{...}
|
||
|
{p2col 5 20 24 2: Macros}{p_end}
|
||
|
{synopt:{cmd:r(adofile)}}the ado-file name and full path{p_end}
|
||
|
|
||
|
|
||
|
{title:Author}
|
||
|
|
||
|
{p 4 4 2}
|
||
|
Dan Blanchette {break}
|
||
|
Center of Entrepreneurship and Innovation {break}
|
||
|
Duke University's Fuqua School of Business {break}
|
||
|
Dan.Blanchette@Duke.edu{p_end}
|
||
|
|
||
|
|
||
|
{title:Acknowledgements}
|
||
|
|
||
|
{p 4 4 2}
|
||
|
This program grew out of previous work by:{p_end}
|
||
|
|
||
|
{p 6 4 2}
|
||
|
Nicholas J. Cox, University of Durham, U.K.{p_end}
|
||
|
|
||
|
{p 4 4 2}
|
||
|
and{p_end}
|
||
|
|
||
|
{p 6 4 2}
|
||
|
Christopher F Baum, Boston College, USA{p_end}
|
||
|
|
||
|
|
||
|
{title:Also see}
|
||
|
|
||
|
{p 4 13 2}On-line: {help doedit:doedit} {help fildfile:findfile},
|
||
|
{help fedit:fedit} (if installed){p_end}
|
||
|
|