PreviousNextIndex

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-name
attribute
Attributes

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


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex