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

Re: st: programation of a new function

From   "Renzo Comolli" <>
To   <>
Subject   Re: st: programation of a new function
Date   Sat, 16 Apr 2005 14:38:49 -0400

To the best of my knowledge, it is not possible to program a new function on
its own. 
Of course, it is possible to modify any official command that StataCorp
writes as an ado file; but I think this "hacking" is risky and not
recommended. Of course, you could create a copy of the command (e.g. you
could make a copy of egen, call it egen2) and than modify the copy using
standard -syntax-. According to the difficulty of the command you are
modifying, this way could be quite difficult too. 
Another way that might work on occasion is to write a new command
The [P] manual is where to look. Start with -syntax-


*From   Jean-Benoit Hardouin <> 
To   Statalist <> 
Subject   st: programation of a new function 
Date   Fri, 15 Apr 2005 23:47:22 +0200 

Dear all,
I search the way to write a new function (as int() or chol()... not a
command), and I have not find information about this subject in the Stata
manual. Is it possible in Stata to program a new function ? If yes, where
can I find informations ?
Thank you
Jean-Benoit Hardouin

*   For searches and help try:

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