xutuan Zhang wrote:
I saw "Any" type works for optional parameters when the parameter is
not an array...for array parameters, for example,

* * *
double myFunc(
[in] Any p1, [in] Sequence < Sequence < Any> > p2
)
* * *

p1 is shown as optional in Calc, but p2 is always shown as reqired..

Do you have any idea?

For an optional parameter, always use plain "any". The content of the any will depend on how the function is used. You cannot force a specific type for an optional parameter, you have to deal with "double", "string" or "sequence< sequence< any > >".

Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to