[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SetBit()
Activates a selected bit from a byte
Syntax:
SetBit ( cByte, nBitPos ) -> cNewByte
cByte : The byte to treat.
nBitPos : The position of the bit inside the byte.
Description:
Puts to 1 a selected bit from a byte returning the new byte.
Return:
The new byte or Nil if cByte is not a character or nBitPos is
not numeric.
Example:
cNewByte := BitBorra ( "C", 2 )
See Also:
DelBit()
IsBit()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson