|
CopyBits | ||
Result = CopyBits(SrcValue, BitCount, DestValue, BitPos) | ||
Parameters: SrcValue = The source value BitCount = Number of bits that will be copied DestValue = The destination value BitPos = The bit position in DestValue |
||
Returns: Result |
||
The CopyBits copies the number of bits given in BitCount from DestValue to the bit position specified in BitPos of DestValue. FACTS: * Use CopyBits to insert a number bits at a specified position. Mini Tutorial: Showing the use of the function CopyBits
This example would output.
|
Related Info: | And | ClearBit | Or | Xor : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |