[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: st: .ado and .plugin
Cecilia Ann <firstname.lastname@example.org>
STATA List <email@example.com>
RE: st: .ado and .plugin
Thu, 2 Dec 2010 11:27:23 -0500
Austin's comment is meant to be verbal attack. I do not think your behavior is in a polite way! I am trying to figure out the reason.Even if I say "does not work",it hurts you nothing.
Besides, your explanation is of no use at all!
> Date: Thu, 2 Dec 2010 10:38:53 -0500
> Subject: Re: st: .ado and .plugin
> From: firstname.lastname@example.org
> To: email@example.com
> Cecilia Ann :
> Saying merely that something "does not work" is of no use. Instead
> tell us what you have done to diagnose the problem, what you typed and
> what Stata replied. Start by defining a very simple program and
> making sure you understand how and where the files should be written:
> file open t using ok.ado, write
> file write t "prog ok" _n "di c(alpha)" _n "end" _n
> file close t
> type ok.ado
> which ok
> The -type- command can be a useful diagnostic tool if you have saved a
> file in a non-text format, and -which- can tell you if you have saved
> a file in an inaccessible location.
> On Thu, Dec 2, 2010 at 10:26 AM, Cecilia Ann wrote:
> > yes, the ado file defines the programm and the program name and ado file name are same.
> > I put them in the ado directory.
> > But it still does not work.
> > ----------------------------------------
> >> Date: Thu, 2 Dec 2010 09:52:27 -0500
> >> To: firstname.lastname@example.org
> >> From: email@example.com
> >> Subject: Re: st: .ado and .plugin
> >> At 09:38 AM 12/2/2010, Cecilia Ann wrote:
> >> >I write some new program in .ado and .plugin files. I want to use
> >> >them to do analysis and plot graphs. I put them together in stata11
> >> >ado file. But when I type in new command in stata, there is error
> >> >reminder. Stata says the command is unrecognized.
> >> >
> >> >Could you please tell me how to generate new command based on these
> >> >ado files and plugin? How to make these new program files work in STATA11?
> >> I'm not acquainted with plugins, but for ados,...
> >> 1, does the ado file define the program (-program def...-)?
> >> 2, is the defined program the same name as the file (e.g., file
> >> myprogam.ado defines myprogram)?
> >> 3, is the ado file located in either the current directory or your
> >> ado directory (or appropriate subdirectory)?
> >> HTH
> >> --David
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
* For searches and help try: