I am using RAD XE7. In my Delphi application I want to set default values for fields of Records.
I tried following code, but it does not compile, I know it is wrong. I there any another way?
TDtcData = record
TableFormat : TExtTableFormat = fmNoExtendedData;
DTC : integer = 0;
Description : string = 'Dummy';
Status : TDtcStatus;
OccurenceCnt : integer =20;
FirstDTCSnapShot: integer;
LastDTCSnapShot: integer;
end;