|
SwapLowBytes | ||
Result = SwapLowBytes(Value) | ||
Parameters: Value = The value whose two least significant bytes you want to swap |
||
Returns: Result |
||
SwapLowBytes splits the lower 16 bits of a value into two bytes and changes their order, while the higher 16 bits are replicated. FACTS: * See SwapByteOrder for more details * You could also use the colour functions separate and pack an integer (See ARGB) Mini Tutorial: Showing the effect of SwapLowBytes
This example would output.
|
Related Info: | ARGB | SwapByteOrder | SwapWordOrder : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |