Sign in Join
FPDoc Onlineexperiment

TFPExprIdentifierDefs.AddDateTimeVariable function

Member of TFPExprIdentifierDefspublicIn unit fpExprPars

Add a datetime variable to the collection

Declaration

pascal
function AddDateTimeVariable(const AName: ShortString; 
 AValue: TDateTime): TFPExprIdentifierDef

Arguments

AName

The name of the datetime variable

AValue

The datetime value of the variable

Function result

Returns the added datetime variable identifier

Description

The AddDateTimeVariable method creates and adds a new date/time variable identifier to the collection with the specified name and datetime value. The variable can then be referenced in expressions to retrieve the date/time value.

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