Progress
Language Reference
INPUT-OUTPUT CLOSE Statement
Closes a specified or default stream opened by an INPUT-OUTPUT THROUGH statement.
SYNTAX
STREAM stream
The name of the stream you want to close. If you do not name a stream, Progress closes the default stream used by an INPUT-OUTPUT THROUGH statement.
EXAMPLEThis procedure uses a C program to recalculate the price of each item in inventory. Specifically, the C program increases the price of each item by 3% or by 50 cents, whichever is greater. The INPUT-OUTPUT THROUGH statement tells the procedure to get its input from, and send its output to, the
r-iothru.p
procedure. The INPUT-OUTPUT CLOSE statement resets the input source to the terminal and the output destination to the terminal.
NOTE
For more information, see the Progress Programming Handbook .
SEE ALSO
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |