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

st: detecting quietly

From   Daniel Feenberg <>
To   "" <>
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".


Daniel Feenberg

*   For searches and help try:

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