Feature request: Adding "Exchange" procedure to the "Math" or "SysUtils" unit
Summary
The math
unit is missing a simple procedure that swaps the values of variables.
Because of this, users have to write this procedure in every program.
Example
A simple example procedure (without overloads):
procedure Exchange(var A, B: Integer);
var
t: Integer;
begin
t := A;
A := B;
B := t;
end;
An inline
modifier can be added.
Edited by n7800