Skip to content

TExprParameterArray

Array type for function parameters in expressions

Declaration

Source position: fpexprpars.pp line 109

type
  TExprParameterArray = Array of TFPExpressionResult = record
  ResString : AnsiString;
case ResultType : TResultType of
rtBoolean: (
  ResBoolean : Boolean;
);
rtInteger: (
  ResInteger : Int64;
);
rtFloat: (
  ResFloat : TExprFloat;
);
rtCurrency: (
  ResCurrency : Currency;
);
rtDateTime: (
  ResDateTime : TDatetime;
);
rtString: (
);
end
;

Description

This array type holds the parameter values passed to functions during expression evaluation. Each element is a TFPExpressionResult containing both the value and type information for one parameter.

The array is dynamically sized to accommodate functions with varying numbers of parameters. Functions use this array to access their input parameters and determine their types during evaluation.