Show: Object Pascal C++
Display Preferences

E2598 Virtual methods not allowed in record helper types (Object Pascal)

From Appmethod Topics
Jump to: navigation, search

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

This occurs whenever a virtual method is declared in helper types.

  aRecord = record
  aHelperRecord = record helper for aRecord
    procedure test; virtual; // issues error: E2598

You can fix this by either removing the method from the helper type, or by removing the virtual directive from the method.

See Also

Personal tools
In other languages