Table of Contents

TatCustomScripter.FindLibraryByClass Method

Searches for a registered library of the specified class and returns its instance, or nil if not found.

Remarks

FindLibraryByClass searches for all libraries registered in the scripter and returns the library instance if found. If there are no registered libraries of the class ALibraryClass, then the function returns false.

MyClassesLibrary := atScripter1.FindLibraryClass(TatClassesLibrary);

Syntax

Unit: atScript

function TatCustomScripter.FindLibraryByClass(ALibraryClass: TatScripterLibraryClass): TatScripterLibrary;

Parameters

<-> Parameter Type Description
ALibraryClass TatScripterLibrary​Class

See also