Repository URL to install this package:
Version:
3.0.0 ▾
|
{ %NORUN }
{ In Delphi mode unsupported types like TextFile are ignored inside records
and objects }
program tdefault5;
{$mode delphi}
type
TTestRecord = record
f: TextFile;
end;
TTestObject = object
f: TextFile;
end;
var
trec: TTestRecord;
tobj: TTestObject;
begin
trec := Default(TTestRecord);
tobj := Default(TTestObject);
end.