Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : NUM-PARAMETERS attribute
 

NUM-PARAMETERS attribute

The number of parameters expected.
Data type: INTEGER
Access: Readable/Writable
Applies to: Call object handle

Syntax

NUM-PARAMETERS ( integer-expression )
integer-expression
An integer expression indicating the number of parameters expected. The default is zero.
Whenever NUM-PARAMETERS is set, all existing parameters, including those from earlier uses of SET-PARAMETER, are cleared and deallocated.
If there are parameters to be passed, NUM-PARAMETERS must be set before the INVOKE( ) method is executed.
When you are getting a parameter, set NUM-PARAMETERS to the actual number of parameters to be passed, which might vary if one or more trailing parameters are optional.
When you are setting an attribute, use NUM-PARAMETERS 1.