CreateListAndAdd procedure
Ensures that a TList has been created before adding the specified object instance.
Declaration
procedure CreateListAndAdd(const AnObject: TObject; var List: TList;
OnlyIfNotExists: Boolean)Arguments
AnObject | Object instance added in the routine. |
List | List instance created or updated in the routine. |
OnlyIfNotExists | Indicates if the object is added only when it does not already exist in the list. |
Description
Nothing more than the line above yet.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
