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

Re: st: Editing an ado file?

From   Ulrich Kohler <>
Subject   Re: st: Editing an ado file?
Date   Fri, 4 Feb 2005 14:19:07 +0100

April Knill wrote:
> Dear Statalisters,
>         How does one edit an ado file?

Nice little question. Note that you will need some programing skills to do 
something usefull by editing such files. You should definitelly not edit  
Ados directely. 

I propose to proceed as  follows.



. which <command>

to find the place were the specific ado-file for <command> is stored on your 


Copy the respective file <command.ado> to <mycommand.ado> into your personal 
ado-directory, which is most likely "c:/ado/personal"


Open "c:/ado/personal/<mycommand.ado>" with a text editor (Emacs, for example)


Change the line

program command

at the very beginning of <mycommand.ado> to 

program mycommand


Edit whatever you like. 

Hope this helps


+49 (030) 25491-361

*   For searches and help try:

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