Agriculture Reference
In-Depth Information
on a Windows PC. There are, however, times when you may wish to
view two such windows side-by-side. For example, when working on
a new Do-File, it might be helpful to look at a complete Do-File to
see how to implement a specific feature. This also can be accomplished
on a Windows PC by dragging the tab into the window to show both
Do-Files side-by-side. On a Macintosh, the preferences don't have to
be changed to do this; just drag one of the tabs outside the current
window and a new window will be created with the tabbed item. Try
it; this is a really nice feature; however, it is not implemented in Unix.
Under the File menu there are many items that will appear familiar
to you if you are familiar with the GUI. The first item on a Macintosh
is for a New Do-File. As expected, this brings up an untitled Do-File
Editor window, which I have described previously. On a Windows
PC, the first item is Open… for opening any of the Stata file types.
On Macintosh computers, the next item is New Tab, which adds a
new tab to the current window if the current window is a Do-File or
Viewer window. This feature only works with the Viewer window on
a Unix computer. The Open… item is for opening any of the different
Stata files, which include data files, Stata graphs, Do-Files, etc. The
Open Recent menu item has a submenu of recently opened datasets.
This assumes there are any recently opened datasets. If you are using
the program for the first time or have reset the preferences, no sub-
menu will appear.
Other items not on Windows PCs include Open Recent Do-Files.
As would be expected, recent Do-Files are listed in the submenu.
This is not implemented on Unix computers. Do-Files will have a
.do extension. Other files that may appear under this menu include
.smcl and .dct files. The .smcl files are output files from Stata in Stata
Markup and Control Language. It is not advised to open these files
in a Do-File Window because all of the control codes appear rather
than the expected formatted output. The Insert File… menu item
will appear dimmed unless a Do-File Editor window is open, in
which case you can use this to insert a file into the Do-File Editor.
The Close item does just that, closing the current window, and the
Close Tab closes the current tab in windows that support tabs. The
Close Tab item is not available on Unix or Windows computers. The
next two menu items, Save and Save As…, are for saving dataset files
if any of the windows are active except the Do-File Editor window,
Search WWH ::




Custom Search