Progress
Language Tutorial
for Character
Edit Buffers and Procedure Files
An edit buffer is a temporary area in computer memory maintained by the Procedure Editor where you can create and edit Progress procedures. A buffer only lasts as long as a Progress session. When you are done with your session, you can use the Procedure Editor to save buffers to procedure files.
A procedure file is a text file that contains one or more Progress procedures. By convention, procedure files have a .p file extension. As you go through this tutorial, you will learn about specialized procedure files and other text files that contain Progress language statements but do not contain procedures. These Progress files have other file extensions.
It is important to understand the relationship between buffers and procedure files. When you open an existing procedure file using the File
Open menu option, the editor creates a buffer whose title echoes the name of the file. Edits that you make in a buffer associated with an existing procedure file are temporary until you explicitly save the buffer. If you do not save the buffer, your edits are lost when the Procedure Editor session ends.
In addition to the editing tasks described in the last section, it is important to realize that you can cut or copy text from one buffer and paste into another buffer.
NOTE: Although you can open multiple buffers in the Procedure Editor, you can open only one buffer for each operating system file.Table 2–6 summarizes the Procedure Editor features that help you create and manage buffers.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |