Show: Object Pascal C++
Display Preferences

E2530 Type parameters not allowed on global procedure or function (Object Pascal)

From Appmethod Topics
Jump to: navigation, search

Go Up to Error and Warning Messages (Object Pascal) Index

This occurs when declaring a generic procedure/function in the global scope.


program E2530;
{E2530 Type parameters not allowed on global procedure or function}
{$APPTYPE CONSOLE}

uses
  SysUtils;

procedure GenProc <T> (value: T);
begin
end;

begin

end.
Personal tools
In other languages