Table of Contents

TatBaseScripter Class

Base class for multi-language scripter components that can create and execute scripts in Pascal and Basic.

Remarks

TatBaseScripter is a TatCustomScripter descendant that implements support for multiple script languages. Unlike the deprecated TatPascalScripter and TatBasicScripter components, which each support only a single language, TatBaseScripter can manage and execute scripts in all languages supported by Scripter Studio. Use AddScript to create a new script with an explicit language, or use Scripts.Add which applies the DefaultLanguage setting. Most properties, methods, and collections are implemented in the abstract ancestor TatCustomScripter.

Syntax

Unit: atScripter

TatBaseScripter = class(TatCustomScripter);

Methods

Name Description
AddScript Adds a new script to the Scripts collection with the specified language.

Properties

Name Description
DefaultLanguage Gets or sets the default language applied to scripts created with Scripts.Add.