Sign in Join
FPDoc Onlineexperiment

TFPFunctionCallBack.CreateFunction constructor

Member of TFPFunctionCallBackpublicIn unit fpExprPars

Create callback function with identifier and arguments

Declaration

pascal
constructor CreateFunction(AID: TFPExprIdentifierDef; 
 const Args: TExprArgumentArray); override

Arguments

AID

The function identifier definition

Args

The arguments for the callback function

Description

The CreateFunction constructor creates a new callback function instance with the specified identifier definition and argument list. It establishes the connection between the function call and the callback mechanism that will handle the function execution.

The constructor stores the identifier information and argument expressions that will be used during function evaluation to invoke the appropriate callback procedure with the correct parameters.

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