Delphi Basics: packed command packed Keyword Compacts complex data types into minimal storage type Name = Packed array[.] of.; type Name = Packed class. End; type Name = Packed object. End; type Name = Packed record. End; Description The packed keyword tells Delphi to minimise the storage taken up by the defined object.
May 27, 2010 Author Topic: Pointer to a record (Read 15705 times) nebulom. Though valid in delphi, there maybe some different implementation for freepascal. I'm not so sure if there is a committe body for standardization of pascal language as I'm just new to this language. If the record contains managed fields, this GetMem is followed by a call to the _Initialize method in the System unit which initializes managed fields. The problem with records is that we cannot declare generic pointers. When we are building trees, for example, we would like to store some data of type T in each node. The initial attempt at that, however, fails. Hello everybody. How can I initialize an array of records, like. # type # Example = record # id: integer; # content: string # end; # # var # # ExampleArray: array[1.