Sign in Join
FPDoc Onlineexperiment

TFPExpressionParser.ResultType function

Member of TFPExpressionParserpublicIn unit fpExprPars

Get the result type of the expression

Declaration

pascal
function ResultType: TResultType

Function result

Returns the result type

Description

The ResultType method returns the data type that the currently parsed expression will produce when evaluated. The result type is determined by analyzing the expression tree and applying type promotion rules.

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