Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure Swap(var X: TCplx; var Y: TCplx); | Exchange two numbers. |
| 2 | procedure Swap(var X: TSCplx; var Y: TSCplx); | |
| 3 | procedure Swap(var X: Byte; var Y: Byte); | |
| 4 | procedure Swap(var X: Double; var Y: Double); | Exchange two numbers. |
| 5 | procedure Swap(var X: Integer; var Y: Integer); | Exchange two numbers. |
| 6 | procedure Swapf(var X: Single; var Y: Single); | Exchange two numbers. |
Overload 1: procedure Swap(var X: TCplx; var Y: TCplx);
Exchange two numbers.
Result: stored in self (calling object)
Remarks:
Exchanges two complex numbers X swaps Y.
Overload 2: procedure Swap(var X: TSCplx; var Y: TSCplx);
Overload 3: procedure Swap(var X: Byte; var Y: Byte);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Byte | |
| 2 | Y | Byte |
Result: stored in self (calling object)
Overload 4: procedure Swap(var X: Double; var Y: Double);
Exchange two numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Double | |
| 2 | Y | Double |
Result: stored in self (calling object)
Remarks:
Exchanges two real numbers X swaps Y.
Overload 5: procedure Swap(var X: Integer; var Y: Integer);
Exchange two numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Integer | |
| 2 | Y | Integer |
Result: stored in self (calling object)
Remarks:
Exchanges two integer numbers X swaps Y.
Overload 6: procedure Swapf(var X: Single; var Y: Single);
Exchange two numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Single | |
| 2 | Y | Single |
Result: stored in self (calling object)
Remarks:
Exchanges two real numbers X swaps Y.