Stream object handle The AVM creates a stream object when an application first tries to get the handle to a given stream. The AVM automatically deletes the stream object when the procedure or class that defines the stream terminates. Syntax STREAM stream-name:attribute | stream-handle:attribute stream-name The valid name of a stream. If the stream name is invalid, ABL raises a compiler error. attribute An attribute of the Stream object. Attributes ADM-DATA attribute NAME attribute HANDLE attribute PRIVATE-DATA attribute INSTANTIATING-PROCEDURE attribute TYPE attribute Example This example shows how the HANDLE attribute of the stream object is assigned to hStream: DEFINE VARIABLE hStream AS HANDLE NO-UNDO. DEFINE STREAM myStream. hStream = STREAM mySTream:HANDLE. See also DEFINE STREAM statement
STREAM stream-name:attribute | stream-handle:attribute
DEFINE VARIABLE hStream AS HANDLE NO-UNDO.
DEFINE STREAM myStream.
hStream = STREAM mySTream:HANDLE.