Progress
Programming
Handbook


Understanding Input and Output

When a Progress procedure gets input from the terminal, it uses an input stream. Similarly, when the procedure sends output to the terminal, it uses an output stream.

Every procedure automatically gets one input stream and one output stream. These are called the unnamed streams. By default, Progress assigns both of these unnamed streams to the terminal, as shown in Figure 7–1.

p-io.p

Figure 7–1: The Unnamed Streams

This procedure contains no special syntax about where to get and send data so Progress automatically assigns the input stream and the output stream to the terminal.


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