TatScripts Class
TatScripts holds a collection of TatScript objects belonging to the scripter. You can add, delete and iterate through the available scripts.
Syntax
Unit: atScript
TatScripts = class(TCollection);
Methods
| Name | Description |
|---|---|
| Add | Adds a new script. You can then set source code, set language type, compile, execute the script, among other actions. |
| FindByUnitName | FindByUnitName method searchs for a script which unit name matches AUnitName parameter. It's useful to search for script-based libraries, which usually have a non-empty UnitName. |
Properties
| Name | Description |
|---|---|
| Items[i] | Provides indexed access to the TatScript objects in the Scripts collection. |