Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: manipulate built-in stata commands


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: manipulate built-in stata commands
Date   Fri, 25 Nov 2011 14:29:47 +0000

You need to write a program that calls a command, suppresses its text output, and -display-s your preferred alternative output.

See [U] for an introduction to Stata programming.

Nick

On 25 Nov 2011, at 14:21, [email protected] wrote:

sorry for getting on your nerves again...i really should visit some "express yourself the way that other people at least have the chance to help you" class. i'am kind of distracted lately... i don't want the lines produced by gen, replace, drop, keep and so on to vanish, i want to change them...

thanks in advance!

raoul


-------- Original-Nachricht --------
Datum: Fri, 25 Nov 2011 14:03:49 +0000
Von: Nick Cox <[email protected]>
An: "[email protected]" <[email protected]>
Betreff: Re: st: manipulate built-in stata commands

No need to write a program. Just use the -quietly- prefix.

Nick


On 25 Nov 2011, at 13:47, [email protected] wrote:

is there an example of how to build a wrapper around some command to
modify what it produces?
fact is i don't want to add functionality but want to remove
some...nevertheless thanks for your help maarten!
i actually want generate not to produce the line "(xyz changes made)".

thanks for your help!

raoul


-------- Original-Nachricht --------
Datum: Thu, 24 Nov 2011 14:26:19 +0000
Von: Nick Cox <[email protected]>
An: "\'[email protected]\'"
<[email protected]

Betreff: RE: st: manipulate built-in stata commands

As I said in my posting, that's fine and what many people do.

You could build a wrapper around -generate- that takes what it
produces
and modifies it.

Nick
[email protected]


Jakob Pohlisch/Raoul

sorry but it seems i haven't made myself clear. My fault. its not
that i
wanted to change the code and thats it. i wanted to get the code so
i could
make my own .ado-file. if that is illegal i'am sorry but i really
didn't
know that. there are so many "unoffical" .ado-files out there, that
i thought
i could change some of them the way i need them - for my personal
use...i
didn't mean to hurt someone copyrights or something like that. for
sure i
didn't just wanted to change the code, but wanted to change it and
create my
"own" .ado-file like myowngenerate.ado. too bad that this isn't
possible...



*
*   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/

--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone
*
*   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:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index