Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPConstExpression.CreateString

Create constant expression with string value

Declaration

Source position: fpexprpars.pp line 476

public constructor TFPConstExpression.CreateString(

  const AValue: AnsiString

);

Arguments

AValue

  

The string value for the constant

Description

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

String constants are used for literal text values in expressions and can be used in string operations, comparisons, and function parameters that expect string arguments.


Documentation generated on: Dec 15 2025