TatVirtualMachine.PrepareInstruction Property
Returns a reference to the last p-code Prepare instruction executed by the virtual machine.
Remarks
When PrepareInstruction is not nil, the script is currently being executed.
When the script finishes, PrepareInstruction is restored to its state before execution.
This is used internally to detect reentrant calls -- for example, when a script is running and a Delphi event fires and triggers execution of a subroutine of the same script.
You will rarely need to access this property.
Syntax
Unit: atScript
property TatVirtualMachine.PrepareInstruction: pSimplifiedCode