Progress
Version 9
Product Update Bulletin


NUM-PARAMETERS Attribute

The number of parameters expected.

Data Type: INTEGER

Access: Readable/Writable

Applies To: CALL Object

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.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095