Author Topic: Do file reading commands as comments  (Read 458 times)

rortiz4

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Do file reading commands as comments
« on: February 10, 2017, 01:44:40 PM »
I am having trouble formatting everything in the .do file. My main problem is that it is making my commands look like comments (they appear green instead of blue and don't do anything).

Roric Brown

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 43
    • View Profile
Re: Do file reading commands as comments
« Reply #1 on: February 10, 2017, 02:40:11 PM »
As long as your commands are on their own line and have no * preceding the command, STATA shouldn't be recognizing it as a comment.  Here is the .do file help file http://www.stata.com/manuals13/u16.pdf


Roric