Tag: Delphi COmpiler

Delphi – E2006 PACKED not allowed here

Only the set, array, record, object, class, and file types are allowed to use the packed keyword. Unlike the 16-bit version of Delphi, packed has an impact on the record, object, and class layout. Packed cannot be applied to a real type; instead, you must use the smallest real type, type Single, to save storage.