Sign in Join
FPDoc Onlineexperiment

CreateListAndAdd procedure

In unit LazHelpIntf

Ensures that a TList has been created before adding the specified object instance.

Declaration

pascal
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.