Skip to main content

TdxSpreadSheetFunctionInfo.ParamInfo Field

Stores a reference (in Delphi) or pointer (in C++Builder) to the routine that defines the function syntax.

Declaration

ParamInfo: TdxSpreadSheetFunctionParamInfo

Field Value

Type
TdxSpreadSheetFunctionParamInfo

Remarks

The function signature is ready for use in formula expressions when it has both the implementation and syntax specification routines assigned to the Proc and ParamInfo fields, respectively.

A syntax specification routine defines the number of parameters, their types, and position order in a function call within a formula expression. Refer to the TdxSpreadSheetFunctionParamInfo procedural type description for details.

The TdxSpreadSheetFunctionsRepository.Add procedure uses the AParamInfo parameter value to initialize the ParamInfo field of a newly created function signature.

Note

The ToString function calls a syntax specification routine assigned to the ParamInfo to generate a syntax prototype string for the function signature.

See Also