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

st: display and stata commands


From   Arngrim Hunnes <[email protected]>
To   [email protected]
Subject   st: display and stata commands
Date   Tue, 25 Feb 2003 12:30:03 +0100

Hello everybody!

The following code works just fine:

foreach var of local vlist{;
        display as text "`var'";
	count if `var' >= .;
};

My problem is that I want to display all this on one line.  But if I use

	display as text "`var'" count if `var' > = .;

it does not work!

So my question is: how to I force Stata do display my information on one
line?

Regards,

Arngrim Hunnes
*
*   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