Show: Object Pascal C++
Display Preferences

X2243 Expression needs no Initialize/Finalize (Object Pascal)

From Appmethod Topics
Jump to: navigation, search

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

You have attempted to use the standard procedure Finalize on a type that requires no finalization.

program Produce;

    ch : Char;


In this example, the Object Pascal type Char needs no finalization.

The usual solution to this problem is to remove the offending use of Finalize.

Personal tools
In other languages