Highlight the portion of the file you want to execute in the Stata
editor and then click on the "do" or "run" button.
Works in V9.
On 10/13/05, Munro, Cameron <[email protected]> wrote:
> Is there a way to run just a part of a do-file without the whole lot? What I typically do is /* */ out everything but the parts I want. What I'd really like to do is cut and paste a few lines into the Stata command window and run them. But it seems (at least in Windows) you can only run single-line commands at a time in the command window.
>
> Cameron.
>
> --------------------
>
> This email message is for the sole use of the intended recipient(s) and
> may contain privileged information. Any unauthorized review, use,
> disclosure or distribution is prohibited. If you are not the intended
> recipient, please contact the sender by reply email and destroy all copies
> of the original message.
>
>
>
> *
> * 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/
>
*
* 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/