Which are differences between Variant arrays and dynamic arrays?
<p>Which are differences between using a <code>Variant</code> array (Like shown <a href="https://stackoverflow.com/questions/3619753/how-to-use-variant-arrays-in-delphi">here</a>)</p>
<pre><code>var
  VarArray : Variant;
begin
  VarArray := VarArrayCreate([0, 1], varInteger);
  VarArray[0] := 123;
  &lt;...&gt;
end;
</code></pre>
<p>instead of a common dynamic array?</p>
<pre><code>var
  DynArray : array of Integer;
begin
  SetLength(DynArray, 1);
  DynArray[0] := 123;
  &lt;...&gt;
end;
</code></pre>