Sign in Join
FPDoc Onlineexperiment

TExprParameterArray type

In unit fpExprPars

Array type for function parameters in expressions

Declaration

pascal
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.

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