Sign in Join
FPDoc Onlineexperiment

Abstract procedure

In unit Objects

Abstract error handler.

Declaration

pascal
procedure Abstract

Description

When implementing abstract methods, do not declare them as abstract. Instead, define them simply as virtual. In the implementation of such abstract methods, call the Abstract procedure. This allows explicit control of what happens when an abstract method is called.

The current implementation of Abstract terminates the program with a run-time error 211.

Errors

None.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.