The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Swap Function
◄Summary►◄Details►◄Example►◄Back►
FUNCTION Swap( number : <Integer │ Word> ) : <same type>;
Swaps the high and low bytes in an integer or word
Unit: System (used automatically)
See also: Hi, Lo