I believe if you add a .type [filename].do line into your do file you'll get
what you're looking for.
-JW
-----Original Message-----
From: CM [mailto:[email protected]]
Sent: Thursday, July 15, 2004 3:52 PM
To: [email protected]
Subject: st: Printing the do-file to screen as you RUN the do-file
Dear Stata-listers,
I tried using "findit screen print" and a few other
simple searches (i.e. print, view) but couldn't find
what I want.
I want a copy of my .do file in my log file every
single time I run it (I'm printing out hard copies a
few times a day and need the day/time stamp).
Basically I need a command that will read and output a
text file to just the screen. "-print" sends it
straight to the printer, and "-view" doesn't do it
either.
It seems like it should be possible, this notion of
printing to screen the .do file as you run the .do
file itself? (Of course I could 'comment' the whole
thing and nest but then I'd get those ">" signs)
Regards,
CM
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
*
* 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/