TExprBuiltInManager.AddVariable¶
Add variable to built-in collection
Declaration¶
Source position: fpexprpars.pp line 817
public
function TExprBuiltInManager.AddVariable
(const ACategory: TBuiltInCategory;
const AName: ShortString;
AResultType: TResultType;
const AValue: AnsiString)
: TFPBuiltInExprIdentifierDef;
Description¶
The AddVariable method creates and adds a new built-in variable to the manager with the specified category, name, and value. The variable becomes available for use in expressions parsed by this manager.