Did anyone mention PCount()? That should do it.
>Hi everybody,
>
>I have a method in the class with optional number of parameters which calls a protected procedure of the same class. I'm passing parameters as is from one procedure to another. I guess the only way to know from this protected procedure how many parameters did I pass originally is to actually pass the number of parameters as a parameter.
>
>Do you see any other way here?
>
>Thanks in advance.
Mathias Banda
Time is longer than a rope.