Table of Contents

TatRecordWrapper Class

Base class that wraps a Delphi record type so the scripter can interact with it as an object.

Remarks

All records in the scripter are treated as objects descending from TatRecordWrapper. When the scripter needs to pass a record type to or from a Delphi method, it encapsulates the record in a TatRecordWrapper descendant. Each record type must have its own descendant class that exposes the record fields as object properties.

Syntax

Unit: atScript

TatRecordWrapper = class(TInterfacedObject, IatInterfacedObject);