Show: Delphi C++
Display Preferences

E2537 DEFAULT standard function expects a type identifier (Delphi)

From RAD Studio
Jump to: navigation, search

Go Up to Error and Warning Messages (Delphi) Index

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.
Personal tools
In other languages