Click or drag to resize

FParamCount Function

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

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

Parameters

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

Return Value

Type: DWord
The number of arguments that a method is expecting.
Remarks
Note that you can't use this for 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