SwapLong Function | |
Exchange the right and left halves of a long integer.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax FUNCTION SwapLong(
liSwap AS LONG
) AS LONG
public static int SwapLong(
int liSwap
)
Request Example
View SourceParameters
- liSwap
- Type: Long
The long integer whose words you want to swap.
Return Value
Type:
Long
The swapped long integer.
Remarks
SwapLong() swaps the right half of a long integer with the left half of a long integer and returns the result.
The sign may not be preserved after the swap.
Examples
This example uses SwapLong():
See Also