Skip to content

TResultType

Type representing different result data types in expressions

Declaration

Source position: fpexprpars.pp line 95

type
  TResultType = (rtBoolean,rtInteger,rtFloat,rtDateTime,rtString,
               rtCurrency)

Values

Value Description
rtBoolean Boolean result type
rtInteger Integer result type
rtFloat Floating-point result type
rtDateTime Date/time result type
rtString String result type
rtCurrency Currency result type

Description

This enumeration defines all possible data types that can be produced as results from expression evaluation. Each value represents a specific data type that expression nodes can return, enabling type checking and proper value handling.

The result type system ensures that expressions are properly typed and that operations between different types are handled correctly through appropriate type conversions when needed.

These types correspond to the variant record fields in TFPExpressionResult and determine how result values should be interpreted and stored.