TFPExprIdentifierDefs.AddDateTimeVariable¶
Add a datetime variable to the collection
Declaration¶
Source position: fpexprpars.pp line 595
public
function TFPExprIdentifierDefs.AddDateTimeVariable
(const AName: ShortString;
AValue: TDateTime)
: TFPExprIdentifierDef;
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.