In the do-file editor it is possible to highlight some lines of code and
run these.
On the results screen, the first line that would appear would be
something like this.
. do "C:\Users\kamccaul\AppData\Local\Temp\STD00000000.tmp"
This still works OK.
But suppose instead of hitting the do button, I hit the run button.
Now what appears is this:
. run "C:\Studies - WACHA\_DATA FILES\deaths\ttttexport.do"
The run command is now running the file that contains the code that I
have highlighted.
I can't remember if this is what it did before, but my memory is that it
used to run the highlighted text as a .tmp file.
The problem is that if I close the do-file editor, open it again, and
open the file I just ran, the only things in there are the lines of code
that I highlighted and ran. All other lines are deleted.
______________________________________________
Kieran McCaul MPH PhD
WA Centre for Health & Ageing (M573)
University of Western Australia
Level 6, Ainslie House
48 Murray St
Perth 6000
Phone: (08) 9224-2140
Phone: -61-8-9224-2140
email: [email protected]
http://myprofile.cos.com/mccaul
_______________________________________________
*
* 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/