Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: abbrivation in ado-file and equation in help file?


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: abbrivation in ado-file and equation in help file?
Date   Thu, 20 Dec 2012 14:49:59 +0000

If you want to allow say

myprogram

to be abbreviatable as

myprog

you would need to release two or more ado files, In particular,
myprog.ado could contain in its entirety

program myprog
            myprogram `0'
end

If you want to allow -myprogra-, -myprogr- as well each of those
abbreviations requires a separate .ado file too.

Equations can be indicated using text or SMCL directives. You would
need to provide a link to files containing anything else. For example,
Stata doesn't support TeX ir HTML mark-up in help files.

Nick

On Thu, Dec 20, 2012 at 2:32 PM, Nick Bornschein
<nick.bornschein@googlemail.com> wrote:

> I have written my first ado-file for calculation the effect size r after a
> t-Test and while writing the ado-/help file I'm trying to fix 2 things:
>
> -how can I tell stata in my ado-file to use an abbreviation for my new
> command?
> -is it possible to write an equation in a help file?
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index