Delphi Compiler Error
E2537 DEFAULT standard function expects a type identifier
Reason for the Error & Solution
This occurs when using a method instead of a type with the Default function.
program E2537;
{$APPTYPE CONSOLE}
uses
SysUtils;
var
p : Pointer;
procedure NotType;
begin
end;
begin
p := Default(NotType);
end.