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

st: detecting quietly


From   Daniel Feenberg <[email protected]>
To   "statalist-hsphsun2.harvard.edu" <[email protected]>
Subject   st: detecting quietly
Date   Sun, 5 Sep 2004 16:36:33 -0400 (EDT)

I am writing an ado program that invokes an external program which writes
some informative messages to the standard output. This is normally fine,
but if the ado file is invoked by "quietly", that output should probably
go to /dev/null. Looking at the programming guide, I don't see any way to
detect if an ado should be quiet or not. The display commands conform
automatically, of course, but to control my external program I need a
macro (or something) which evaluates to a different value if the calling
ado has been invoked by "quietly".

Thanks.

Daniel Feenberg
617-588-0343



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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