Stata: Data Analysis and Statistical Software
   >> Home >> Products >> Capabilities >> Do-file Editor
order stataorder stata

Do-file Editor

Stata’s Do-file Editor has been written to make programming tasks simpler than ever.

Among the features are

  • Syntax highlighting. Having command names, variables names, macro names, strings, operators, and other program elements in different colors allows you to spot syntax errors and bugs.
  • Code folding for Windows and Unix. Collapse code within forvalues, quietly, if/else, and other blocks of code. Focus on the code you are currently writing or debugging and hide everything else. In the Do-file Editor below, we know the code in the two if blocks is good, so we have the code folded—indicated by the plus signs inside the square boxes. Clicking on those boxes expands the code, showing the hidden lines.
  • Line bookmarks. Attach a bookmark to a line of code, and then quickly access that line later by using its bookmark.
  • Brace matching. Manage complex, large blocks of code more easily.
  • No file-size limits. Use the Do-file Editor to examine large text files before importing them as datasets into Stata.
  • Tabs. Open multiple files at the same time in different tabs.

For a list of all features in the Stata GUI, click here.

Bookmark and Share 
Stata 12
Overview: Why use Stata?
Stata/MP
Capabilities
Overview
Sample session
User-written commands
New in Stata 12
Supported platforms
Which Stata?
Technical support
User comments
Like us on Facebook Follow us on Twitter Follow us on LinkedIn Google+ Watch us on YouTube
Follow us
© Copyright 1996–2013 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index   |   View mobile site