Progress
Basic Development
Tools


Saving a Procedure

You can save the contents of the current buffer in the following ways:

Saving a Procedure to a New File

Follow these steps to save a new, untitled procedure to a file:

  1. Choose File Save or choose File Save As from the menu bar. The Save As dialog box appears. See "Procedure Editor Reference," for a detailed description of the Save As dialog box fields:
  2. Specify the file where you want to save the procedure.
  3. When you enter a filename, add the .p extension to the procedure file. Procedures are stored as operating system files. UNIX filenames are case sensitive, unlike Windows. Unless you specify a path when you name the file, Progress stores the file in your current working directory.

CAUTION: Do not name a procedure _edit.p, because that is the name of the Procedure Editor. If you do, and the procedure falls before $DLC in your PROPATH, Progress accesses the incorrect file when you try to run the Procedure Editor.

Progress saves the procedure to the specified filename and keeps the buffer open so you can continue working in it. The buffer name changes to the specified filename.

NOTE: The Procedure Editor cannot save a file with a comma in its name.

Saving a Procedure to the Current File

When you are in a named buffer and you choose File Save, Progress automatically saves the procedure to the current filename and keeps the buffer open so you can continue working in it.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095