How to swap between two arrays in Delphi?
Just like the following function
Procedure swap (var I and j: integer);
Var
I, j, TMP: integer;
The begin
TMP:=I;
I:=j;
J:=TMP;
end;
CodePudding user response:
Set an intermediate variable or array, read cycles
CodePudding user response: