Progress
ADM 2 Reference
{get} and {set} Pseudo-functions
In addition to the conventional get and set functions, the ADM supports a pseudo-function syntax for use in super-procedure files particularly. These pseudo-functions are implemented by the include files
get
andset
(notget.i
orset.i
) located in the tty and gui directories.A call to {get} takes one of the following forms:
Where propname is the property name in the TARGET-PROCEDURE object and returnvar is the variable into which the value is to be returned. If the property does not belong to the TARGET-PROCEDURE object, provide the appropriate handle in ownerhandle.
The {set} syntax is very similar:
The only difference between {get} and {set} syntax is that the second {set} argument is the new value for the property.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |