Returns the number of parameters actually received by a procedure.
Remark: The
Count property returns the number of parameters that can be used in the procedure.
// Call the procedure
MyProc("A")
// Declare the procedure
PROCEDURE MyProc(p1, po2 = "Y", po3 = "Z")
Info(MyParameters.NbReceived) // Returns 1
Info(MyParameters.Count) // Returns 3
Syntax
<Result> = <MyParameters>.NbReceived
<Result>: Integer
Number of parameters actually received by the procedure. This number ignores the optional parameters for which no value was specified during the call.
<MyParameters>: Keyword
WLanguage keyword used to designate all the parameters of a procedure.