| Class TFunctionList (unit FCLib) |
TPersistent
TFunctionList - list to hold aliases and user functions
| Constructors |
constructor Create(AParent: TFormulaLib);| Functions |
function Add(AName, ASource: String): Integer;
procedure Delete(Index: Integer);
destructor Destroy;
function IndexOf(AName: String): Integer;
procedure Assign(Source: TPersistent);
function GetArgCount(Index: Integer): Integer;
function GetCount: Integer;
function GetNames(Index: Integer): String;
function GetSources(Index: Integer): String;
function IsUnusedIdent(const S: String): Boolean;
procedure ReadData(Reader: TReader);
procedure SetNames(Index: Integer; NewValue: String);
procedure SetSources(Index: Integer; NewValue: String);
procedure WriteData(Writer: TWriter);| Properties |
property ArgCount : Integer
property Count : Integer
property Names : String
property Sources : String| Events |
| Variables |
FList : TStrings;
FParent : TFormulaLib;| Constructors |
constructor Create(AParent: TFormulaLib);TFunctionList methods
| Functions |
function Add(AName, ASource: String): Integer;add entry with name AName and source ASource to the list
procedure Delete(Index: Integer);delete entry Index
destructor Destroy;
function IndexOf(AName: String): Integer;returns number of entry with name AName
procedure Assign(Source: TPersistent);
function GetArgCount(Index: Integer): Integer;
function GetCount: Integer;
function GetNames(Index: Integer): String;
function GetSources(Index: Integer): String;
function IsUnusedIdent(const S: String): Boolean;Checks if Identifier given in S is unused
procedure ReadData(Reader: TReader);
procedure SetNames(Index: Integer; NewValue: String);
procedure SetSources(Index: Integer; NewValue: String);
procedure WriteData(Writer: TWriter);| Properties |
property ArgCount : Integernumber of arguments
property Count : Integernumber of elements in the list
property Names : Stringnames of entries
property Sources : Stringsources of entries
| Events |
| Variables |
FList : TStrings;
FParent : TFormulaLib;