Dynamic arrays are implemented in Delphi as lifetime-managed reference types without “copy-on-write” support. What does it mean on practice can be shown by the following code: program Project1; {$APPTYPE CONSOLE} type TIntArray = array of Integer; var A, B: TIntArray; begin ...
More...