Sign in Join
FPDoc Onlineexperiment

TFPConstExpression.CreateInteger constructor

Member of TFPConstExpressionpublicIn unit fpExprPars

Create constant expression with integer value

Declaration

pascal
constructor CreateInteger(AValue: Int64)

Arguments

AValue

The integer value for the constant

Description

The TFPConstExpression constructor creates a constant expression that holds an integer literal value. The integer value is stored internally and will be returned whenever the expression is evaluated.

Integer constants are used for whole number values in expressions and can be used in arithmetic operations, comparisons, and function parameters that expect integer arguments.

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