SetSw Statement

For Virtual IO, sets specified input bit to the specified value.

Syntax
SetSw bitNumber, value

Parameters

bitNumber
Specify I/O input bits.
value
Specify an integer 0 (Off) or 1 (On).

Description
SetSw provides the ability to turn on or off one input bit.

See Also
SetInReal, SetIn, SetInW

SetSw Statement Example

> setsw 2, on  ' Sets the 2nd input bit to On.