Sign in Join
FPDoc Onlineexperiment

TFPExprIdentifierDef.ArgumentCount function

Member of TFPExprIdentifierDefpublicIn unit fpExprPars

Get the number of arguments for function identifier

Declaration

pascal
function ArgumentCount: Integer

Function result

Returns the argument count

Description

The ArgumentCount method returns the number of arguments that a function identifier expects. For variable identifiers, it returns 0. For function identifiers, it returns the count of parameters required for the function call.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.