PARAMETERS()

Top  Previous  Next

Returns the number of parameters that have actually been passed into a function or method.

Syntax

PARAMETERS()

Return value

Number of parameters

Compatibility

PARAMETERS() returns the numbers of the last method or function call in Microsoft Visual FoxPro, not the number in the current procedure. This renders the function practically useless. Most developers replace PARAMETERS() with PCOUNT() for this reason. In Guineu PARAMETERS() and PCOUNT() behave identical and always return the number of parameters of the current procedure.

See also

PCOUNT() function