Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

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

From |
"Hoogeboom Thomas (EPID)" <thomas.hoogeboom@maastrichtuniversity.nl> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
RE: Re: st: forced end of do-file |

Date |
Thu, 24 Nov 2011 12:46:52 +0100 |

I've tried it. Unfortunately, it makes no difference. Oh by the way, I am working with Stata v10. Thomas Date: Wed, 23 Nov 2011 11:08:55 +0000 From: Nick Cox <njcoxstata@gmail.com> Subject: Re: st: forced end of do-file Have you tried copying and pasting into another do-file editor window? Stata [sic] lets you have multiple version of -doedit- open simultaneously. Nick On Wed, Nov 23, 2011 at 11:01 AM, Hoogeboom Thomas (EPID) <thomas.hoogeboom@maastrichtuniversity.nl> When I run a do-file by use of "do selected lines" (lets say the do-file consist of 100 lines) and I run for instance only the first 25 lines of the do-file; for some reason Stata ends the selected lines with "end of do-file" (Stata didn't use to do this). I don't want Stata to end my do-files for me, as this doesn't allow me to continue working on the edited dataset. > I've read Stata does this automatically when you use commands such as -preserve and -restore, but it does this also when I don't use these commands in my syntax. > > An undesirable solution: > Coping and pasting the first 25 lines straight into Stata. > > Hopefully someone can help me with this. :-) > I think it must be something easy as telling Stata in the beginning of the DO-file to not end it, but I can't seem to find this command.. * * 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/ ------------------------------ Date: Wed, 23 Nov 2011 12:01:33 +0100 From: "Hoogeboom Thomas (EPID)" <thomas.hoogeboom@maastrichtuniversity.nl> Subject: st: forced end of do-file Dear all, Hopefully someone can help me with this silly little thing. I’ve searched the archive, Google and STATA-website, unfortunately I did not find a solution. The problem: When I run a do-file by use of "do selected lines" (lets say the do-file consist of 100 lines) and I run for instance only the first 25 lines of the do-file; for some reason STATA ends the selected lines with "end of do-file" (STATA didn't use to do this). I don't want STATA to end my do-files for me, as this doesn't allow me to continue working on the edited dataset. I've read STATA does this automatically when you use commands such as -preserve and -restore, but it does this also when I don't use these commands in my syntax. An undesirable solution: Coping and pasting the first 25 lines straight into STATA. Hopefully someone can help me with this. :-) I think it must be something easy as telling STATA in the beginning of the DO-file to not end it, but I can't seem to find this command.. Kind regards, Thomas Hoogeboom, PhD-candidate Email: t.hoogeboom@maartenskliniek.nl * * 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/

**Follow-Ups**:**Re: Re: st: forced end of do-file***From:*Nick Cox <njcoxstata@gmail.com>

- Prev by Date:
**st: how to write "byable" for this program?** - Next by Date:
**Re: Re: st: forced end of do-file** - Previous by thread:
**Re: st: forced end of do-file** - Next by thread:
**Re: Re: st: forced end of do-file** - Index(es):