TatScript.AddObject Method
Registers the object AObject to be accessible from this script under the name AName.
Remarks
Published properties of the object are also automatically available for reading and writing from script.
Unlike TatCustomScripter.AddObject, which registers the object for all scripts, this method makes the object accessible from this script only.
Syntax
Unit: atScript
procedure TatScript.AddObject(AName: string; AObject: TObject);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AName | string | ||
| AObject | TObject |