Overview
TMS Scripter is a set of Delphi/C++Builder components that add scripting capabilities to your
applications. With TMS Scripter your end-user can write his own scripts using visual tools and
then execute the scripts with scripter component. Main components available are:
TatScripter: Non-visual component with cross-language support. Executes scripts in both
Pascal and Basic syntax.
TatPascalScripter: Non-visual component that executes scripts written in Pascal syntax.
TatBasicScripter: Non-visual component that executes scripts written in Basic syntax.
TScrMemo: Lightweight syntax highlight memo, that can be used to edit scripts at run-
time.
TatScripter, TatPascalScripter, TatBasicScripter and TIDEScripter (in this document, all of these
componentes are just called Scripter) descend from TatCustomScripter component, which has
common properties and methods for scripting execution. The scripter has the following main
features:
Run-time Pascal and Basic language interpreter;
Access any Delphi object in script, including properties and methods;
Supports try..except and try..finally blocks in script;
Allows reading/writing of Delphi variables and reading constants in script;
Allows access (reading/writing) script variables from Delphi code;
You can build (from Delphi code) your own classes, with properties and methods, to be
used in script;
Most of Delphi system procedures (conversion, date, formatting, string-manipulation) are
already included (IntToStr, FormatDateTime, Copy, Delete, etc.);
You can save/load compiled code, so you don't need to recompile source code every time
you want to execute it;
Debugging capabilities (breakpoint, step into, run to cursor, pause, halt, and so on);
Thread-safe;
COM (Microsoft Common Object Model) Support;
DLL functions calls.
In addition to the scripting engine, a full Integrated Development Environment (IDE) is to edit
scripts, design forms, debugging, and many other operations with Delphi/Visual Studio look and
feel for both creating and running script projects. The following features are present in the IDE:
Full IDE environment dialog;
Visual form designer;
Component palette and palette buttons with Delphi 2007 style;
Integrated syntax memo with built-in code completion and breakpoint features.
Rebuilding Packages
If for any reason you want to rebuild source code, you should do it using the "Packages Rebuild
Tool" utility that is installed. There is an icon for it in the Start Menu.
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
TMS Scripter 7.28 Page 1 of 148