SetBit - method of the PmVar object
Description:
Sets the bit in the value of the variable. This value must be integer (Byte, Integer, Long).
Syntax:
Empty SetBit(Long nIndex, Long nValue)
Parameters:
nIndex | (Long) Bit index (zero-based index). |
nValue | (Long) The new value to be written. |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oVar = pMe.Pm("/Data").Item(0);
oVar.SetBit(1, 0);
Dim oVar
Set oVar = pMe.Pm("/Data").Item(0)
oVar.SetBit 1, 0