User`s manual

Dynamic C Users Manual digi.com 247
14.2.2 File Menu
To select the File menu: click on its name in Dynamic C’s main menu or press <Alt+F>.
New
<Ctrl+N>
Creates a blank, untitled program in a new window,
called the text window or the editor window. If you
right click anywhere in the text window a popup menu
will appear. It is available as a convenience for access-
ing some frequently used commands.
Open
<Ctrl+O>
Presents a dialog box to specify the name of a file to
open. To select a file, type in the file name (pathnames
may be entered), or browse and select it. Unless there
is a problem, Dynamic C will present the contents of
the file in a text window. The program can then be
edited or compiled. Multiple files can be selected by
either holding down
<Ctrl> then clicking the left
mouse on each filename you want to open, or by drag-
ging the selection rectangle over multiple filenames.
Save
<Ctrl+S>
The Save command updates an open file to reflect changes made since the last time the file was saved.
If the file has not been saved before (i.e., the file is a new untitled file), the
Save As dialog will appear
to prompt for a name. Use the
Save command often while editing to protect against loss during power
failures or system crashes.
Save As
Presents a dialog box to save the file under a new name. To select a file name, type it in the
File name
field. The file will be saved in the folder displayed in the
Save in field. You may, of course, browse to
another location. You may also select an existing file. Dynamic C will ask you if you wish to replace
the existing file with the new one.
Save All
<Shift+Ctrl+S>
This command saves all modified files that are currently open.
Close
<Ctrl+F4>
Closes the active editor window. If there is an attempt to close a modified file, Dynamic C will ask you
if you wish to save the changes. The file is saved when
Yes is clicked or “y” is typed. If the file is unti-
tled, there will be a prompt for a file name in the
Save As dialog. Any changes to the document will be
discarded if
No is clicked or “n” is typed. Choosing Cancel results in a return to Dynamic C with no
action taken.
Project
Allows a project file to be created, opened, saved, saved as a different name and closed. See
Chapter 16, “Project Files.” for all the details on project files.