Table of Contents

TatVirtualMachine.InProcessExecute Method

Executes a script code fragment using the current virtual machine context.

Remarks

For example, if you call InProcessExecute('ShowMessage(MyVar);') and MyVar is a global variable in the virtual machine being executed, it will work correctly. Use this method sparingly; it is mainly intended for evaluating watches while debugging a script. For that purpose, prefer higher-level objects such as TatCustomScripter.Watches.

Syntax

Unit: atScript

procedure TatVirtualMachine.InProcessExecute(AScriptStr: string);

Parameters

<-> Parameter Type Description
AScriptStr string

See also