Variable Parameter List Considerations

When using variable parameter lists, you should be aware of the following restrictions. (See also "Defining and Using External Dictionary Methods" and "Using Generic JADE Dictionary Methods", later in this chapter.)

De-referencing Variable Parameters in a JADE Method

You cannot de-reference or manipulate individual parameters received in a variable parameter list from within a JADE method.

Usage Restrictions

When using variable parameters in your JADE methods:

Variable Parameter Lists Cannot be Amended

You cannot add or remove parameters from a parameter list. When calling a method that has a variable parameter list, the actual parameter must be a list of simple parameters or a parameter list.

Variable Parameter Lists Cannot be Passed to External Functions

Variable parameter lists cannot be passed to external functions, nor can an external function be declared with a formal parameter that is a parameter list.

No External (C++) Representation of Variable Parameter Lists

When an external method is called, JADE expands any parameters in a variable parameter list, along with any fixed parameters, and constructs a single DskParamList parameter.