- 4.62.2.87 -
Standard Units

System Unit


System Unit Procedures and FunctionsSwap function
Targets: MS-DOS, OS/2, Win32
System Unit
Swaps the high- and low-order bytes of the argument.
Declaration:
function Swap(X: SmallInt): SmallInt;
function Swap(X: Longint): Longint;
Example:
 n := Swap($1234);  // n = $3412
  | 
  | 
  | 
| Succ function | 
Table of Content | 
SwapArgs procedure | 
- 4.62.2.87 -