Sign in Join
FPDoc Onlineexperiment

TResultType enumeration

In unit fpExprPars

Type representing different result data types in expressions

Declaration

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

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.

Values

rtBooleanBoolean result type
rtIntegerInteger result type
rtFloatFloating-point result type
rtDateTimeDate/time result type
rtStringString result type
rtCurrencyCurrency result type

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