I am trying to resize an array of a specific class passed as an argument, e.g.
procedure Resize(MyArray: Array of TObject); begin SetLength(MyArray, 100); end;
However, this causes the error "E2008 Incompatible Types". Is it true that you cannot do this (I saw rumors, but no official documentation), or am I doing something wrong?
object arrays resize delphi
conciliator
source share