Table of Contents

TatVirtualMachine.CurrentClass Property

Returns the registered class whose class property or class method is currently being accessed or called by the virtual machine.

Remarks

For example, if the script calls TPersistent.Create, CurrentClass returns the TatClass corresponding to TPersistent. Method wrappers can use CurrentClass to identify the class on which the operation is being performed.

Syntax

Unit: atScript

property TatVirtualMachine.CurrentClass: TatClass

See also