TFPExpressionResult¶
Record representing the result of expression evaluation
Declaration¶
Source position: fpexprpars.pp line 98
type
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¶
The TFPExpressionResult record stores the result of evaluating an expression node, containing both the actual value and type information.
The ResultType field indicates which variant is active and determines how to interpret the value stored in the record.