I've used a dynamic array of variant type,The First element of this array has a string ,when I insert a numeric value in the second index, the order will be changed...
- Code: Select all
var
DynArr:Array of Variant;
i:Integer;
begin
SetLength(DynArr,4);
DynArr[0]:='Some String';
DynArr[1]:=10;
// now => DynArr[0]=10 ; DynArr[1]='String'
end;