Predefined variables

<< Click to Display Table of Contents >>

Navigation:  Executing script >

Predefined variables

Following global variables are defined by script engine:

 

Scripter: THtScriptParser - ScriptParser instance

Console: THtConsole - debug console

 

Custom global variables can be defined using HtScriptGlobal class, f.e.

 

HtScriptGlobal.Objects['application'] := Application;
HtScriptGlobal.Variables['appname'] := 'My Application';