[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FT_LSWAP()
Reverse the bytes in a 4 byte long integer.
------------------------------------------------------------------------------
Syntax
FT_LSWAP( <nLong> ) -> <nRevLong>
Arguments
<nLong> is the long integer to be converted.
Returns
<nRevLong> is <nLong> with the bytes reversed.
Description
FT_LSwap() takes the passed 4 byte integer and reverses its bytes.
For example, if you pass it an integer like x01020304 it will
return x04030201.
Examples
Source: N:\SRC\MISC\SWAP.ASM
Author: Mike Taylor, modifications by Ted Means
See Also:
FT_ISwap()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson