PreviousNextIndex

Procedure object handle

A handle that can reference the context of one of the following procedure object instances:

This object allows you to read and modify the context of the specified procedure according to the type of procedure object instance.

Syntax

procedure-handle [ :attribute | :method ] 

procedure-handle
attribute
method
Attributes

Methods

Example

The following procedure runs another procedure (r-thispr.p) persistently, setting a procedure object handle for it, and displays the value of its PRIVATE-DATA attribute as a message:

r-run-thispr-pers.p
DEFINE VARIABLE hthispr AS HANDLE NO-UNDO. 
RUN r-thispr.p PERSISTENT SET hthispr. 
MESSAGE "Running the " hthispr:PRIVATE-DATA VIEW-AS ALERT-BOX INFORMATION. 

For more information on the r-thispr.p example procedure, see the reference entry for the THIS-PROCEDURE system handle in this section.

Notes
See also

RUN statement, SESSION system handle, THIS-PROCEDURE system handle


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex