Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Doubt on the exexcution of a do file?


From   Ronan Conroy <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Doubt on the exexcution of a do file?
Date   Fri, 21 May 2010 11:34:49 +0100

On 21 Beal 2010, at 10:33, Grace Jessie wrote:

Statalists,

I wrote a do file and saved it as a do file named "dratf.do".Accidently, I found if there was no space after the last typing in the do file and I run the do file in the command window, the last typing in the do file will not be excecute

Certainly Stata Mac now examines a do-file and if necessary adds a line break after the last line. This behaviour is quite recent, however.

If you recall that Stata executes a command once you hit the return key, this behaviour makes sense.


Ronan Conroy
=================================

[email protected]
Royal College of Surgeons in Ireland
Epidemiology Department,
Beaux Lane House, Dublin 2, Ireland
+353 (0)1 402 2431
+353 (0)87 799 97 95
+353 (0)1 402 2764 (Fax - remember them?)
http://rcsi.academia.edu/RonanConroy

P    Before printing, think about the environment




*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index