Show: Object Pascal C++
Display Preferences

E2474 Record type required (Object Pascal)

From Appmethod Topics
Jump to: navigation, search

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

This occurs when using a helper record for a class. Use a helper object of the class type.

program E2474;
 
{$APPTYPE CONSOLE}
 
uses
  SysUtils;
 
type
TClass = class
  //
end;
 
TClassHelper = record helper for TClass // E2474 
                                         //(use class helper for TClass instead)
end;
 
begin
  {E2474 Record type required}
end.
Personal tools
In other languages