Table of Contents

TatCustomScripter.DefineRecordByRTTI Method

Registers the record type specified by ATypeInfo in the scripter using RTTI.

Remarks

DefineRecordByRTTI register the record structure specified by ATypeInfo into Scripter, using RTTI to retrieve information about given record. Records registered in Scripter will work like a class and need to be instantiated (TRecord.Create). The TatClass object representing the record is returned

Syntax

Unit: atScript

function TatCustomScripter.DefineRecordByRTTI(ATypeInfo: Pointer): TatClass;

Parameters

<-> Parameter Type Description
ATypeInfo Pointer

See also