Board index » delphi » Fastest way to append a variant array to a variant array
Mark Hanfland
![]() Delphi Developer |
Sat, 06 Apr 2002 03:00:00 GMT
Fastest way to append a variant array to a variant array
// This is my stab, but is there anything better?!?!
// assume that the Alllist is a two dimensional array with 13 by 25 // and I want to append another array of 13 by 25 to it (Appendlist) var Alllist:=VararrayCreate([ 0, 13, 0, 25], varVariant); // now add the AppendList to the Alllist as fast as possible OldCount:=VarArrayHighBound(AllList, 2); Showmessage(inttostr(VarArrayHighBound(Alllist, 2))); end; |