|
SwapWordOrder | ||||
Result = SwapWordOrder(Value) | ||||
Parameters: Value = The value whose word order you want to swap |
||||
Returns: Result |
||||
SwapWordOrder splits an integer value into 2 words, reverses the order of these words and returns the result as an integer value. For example the binary representation of the decimal value 65538 is
Now we split this value into 2 words named A and B
and change the order to B and A
So the binary equivalent of what SwapWordOrder(65538) returns would be
which is decimal 131073. |
Related Info: | ARGB | SwapByteOrder | SwapLowBytes : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |