Update cookies preferences
Promotic

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.
See also:
- PmVar.GetBit (method)
- Pm.GetBit (method)
- Pm.SetBit (method)
- PmBuffer.SetBit (method)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oVar = pMe.Pm("/Data").Item(0);
oVar.SetBit(1, 0);

History:
Pm9.00.00: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.