Add variable to built-in collection
Source position: fpexprpars.pp line 817
public function TExprBuiltInManager.AddVariable( |
const ACategory: TBuiltInCategory; |
const AName: ShortString; |
AResultType: TResultType; |
const AValue: AnsiString |
ACategory |
|
Category for the variable |
AName |
|
Name of the variable |
AResultType |
|
Result type for the variable |
AValue |
|
Initial value for the variable |
Returns the added variable identifier
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.