Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : COMParm
 

COMParm

The following syntax describes how to specify a COMparm for a COM object method:

Syntax

{ [ OUTPUT | INPUT-OUTPUT ] expression [ AS Data-type ]
    [ BY-POINTER | BY-VARIANT-POINTER ]
  | null-parm
}
The expression can be any valid ABL expression or data element. Data-type is a supported COM data type that is compatible with the expression. A null-parm is any amount of white space. For information on COM data types and on OUTPUT, INPUT-OUTPUT, BY-POINTER, and BY-VARIANT-POINTER, see Data-type.
Note: There is currently no support for named parameters, for example: Method-Name(Color="GREEN", Shape="SQUARE") Data-type.