Your instinct is good, but -set more on- just says "Be on
the look-out for -more- messages, and obey them". You
still need to insert a -more- command as the
second command in the loop. As -set more on- is the default,
it's the latter action that is usually important.
Nick
[email protected]
Dev Vencappa
>
> Can anybody please advise me how to get stata to pause the
> display of graphs within a loop? The loop is as follows:
>
>
> local z "205 223 229 248 306 369"
>
> foreach x of local z{
> line employment year if nic87==`x', title(industry `x') sort
> }
>
> When the graphs will appear in the main stata window, they
> come up one after the other. I have tried "set more on" both
> outside the loop and inside the loop (I am not sure why but
> gave it a try) but without success. Some help on this please?
*
* 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/