[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_ISWAP()
 Swap the bytes in a two byte integer
------------------------------------------------------------------------------
 Syntax
 
    FT_ISWAP( <nInteger> ) -> <nRevInteger>
 
 Arguments

   <nInteger> is the integer to be converted

 Returns

   <nRevInteger> is <nInteger> with the bytes swapped.

 Description

   FT_ISwap() takes the passed 2 byte integer and reverses its bytes.

   For example, if you pass it an integer like x0102 it will return x0201.

 Examples


 Source: N:\SRC\MISC\SWAP.ASM

 Author: Mike Taylor, modifications by Ted Means

See Also: FT_LSwap()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson