INPUT-OUTPUT CLOSE statement
Closes a specified or default stream opened by an INPUT-OUTPUT THROUGH statement.
Syntax
STREAMstream
STREAM-HANDLEhandle
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.
NoteFor more information, see OpenEdge Development: Programming Interfaces.
See alsoDEFINE STREAM statement, INPUT-OUTPUT THROUGH statement, Stream object handle
OpenEdge Release 10.2B
|