I have this type:
type
TFieldRec = array of record
FieldName: string;
Value: Variant;
DataType: TFieldType;
Data: Pointer;
end;
And the code:
var
FR: TFieldRec;
SetLength(FR, 5);
My question: is it guaranteed that each record element will be initialize with default values?
'', Unassigned, ftUnknown, nil
In the debugger I can see it is true. But I remember records should be initialized with Initialize (or is it Finalize?)