Table of Contents

TatScript.UsesObject Method

Makes the methods and properties of the given object accessible directly from this script without using an object name.

Remarks

Behaves like TatCustomScripter.UsesObject (see that method for details), with one difference: while the scripter-level UsesObject makes the object accessible from all scripts, this method registers the object for this specific script only.

Syntax

Unit: atScript

function TatScript.UsesObject(AObject: TObject; AName: string; AClassName: string): TatClass;

Parameters

<-> Parameter Type Description
AObject TObject
AName string
AClassName string

See also