BitClear Function (Binary) | |
Clears the specified bit in a Numeric, Varbinary, or Blob value by setting it to 0 and returns the resulting value.
There is a numeric and a binary version of the syntax.
If the specified expression is not an integer, it is converted to an integer before performing the operation.
Namespace:
XSharp.VFP
Assembly:
XSharp.VFP (in XSharp.VFP.dll) Version: 2.19
Syntax FUNCTION BitClear(
BinString AS BINARY
) AS BINARY
public static Binary BitClear(
Binary BinString
)
Request Example
View SourceParameters
- BinString
- Type: Binary
Specifies a Varbinary or Blob expression.
Return Value
Type:
BinaryNumeric,
Varbinary, or
Blob.
BitClear( ) returns the specified expression without specified bit.
Examples 1x = 7
2y = 1
3? BitClear(x,y)
See Also