Click or drag to resize

FParamCount Function

Return the number of local arguments that a function is expecting.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.08
Syntax
 FUNCTION FParamCount(
	symFunction AS STRING
) AS DWORD
View Source

Parameters

symFunction
Type: String
The name of the function to examine.

Return Value

Type: UInt32
The number of arguments that a method is expecting.
Remarks
Note that you can't call functions that are overloaded.
And unlike in VO this function can also be used to return the number of parameters for typed functions.
See Also