Extended type compatibility (Delphi)
Go Up to Delphi Compiler Directives (List) Index
Type |
Switch |
Syntax |
{$EXTENDEDCOMPATIBILITY ON} or {$EXTENDEDCOMPATIBILITY OFF} |
Default |
{$EXTENDEDCOMPATIBILITY OFF} |
Scope |
Local |
Remarks
The Extended data type is not supported on some platforms (such as Win64 and iOS), but the $EXTENDEDCOMPATIBILITY directive enables you to use the Extended type in your code on all platforms. This directive provides 10 bytes of storage for compatibility, but does not provide the higher floating-point precision that is available with the Extended data type on the Win32 platform.