<p>Am 26.07.2017 10:59 schrieb "Martok" <<a href="mailto:listbox@martoks-place.de">listbox@martoks-place.de</a>>:<br>
><br>
> > Ideally the function should be portable between FPC and Delphi XE5...<br>
> You'd only need your own functions for Delphi, FPC's intrinsics such as Insert()<br>
> can already work with arrays:<br>
><br>
> var<br>
> b, c: TBytes;<br>
> begin<br>
> b:= TBytes.Create(1,2,3);<br>
> c:= TBytes.Create(10,11);<br>
> Insert(c,b,2);<br>
><br>
> -> b is now [1,2,10,11,3]</p>
<p>But only in trunk. And Delphi XE8 and newer also support them.</p>
<p>Regards,<br>
Sven</p>