Statalist


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

st: RE: Equivalent to "more" inside a loop


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: Equivalent to "more" inside a loop
Date   Mon, 1 Feb 2010 22:45:06 +0100

<>

Just a cheap trick, probably there are much better options:


*******
sysuse auto, clear

foreach var of varlist mpg price weight{
		sc `var' length
		di in r "Just Press Enter Once you are Done Looking at the Graph!" _request(Hello)
}	
*******


HTH
Martin

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Thomas Speidel
Sent: Montag, 1. Februar 2010 22:40
To: [email protected]
Subject: st: Equivalent to "more" inside a loop

Is there an option that I can place inside a loop to make Stata stop, let
the user digest the output, and move on after that?
Much like the "more" and set more on/off, where I can press the spacebar
to move on.  This is to be placed inside a loop that generates a sequence
of graphs.  help more and help window manage did not bring me far.
Thanks.
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index