Previous Next

NUM-PARAMETERS attribute
The number of parameters expected.
Data type:
Access:
Applies to:
 
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.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.