Specifications
Commands - 65
LINE
Process Statement
SYNTAX: LINE terminal #, value
PURPOSE: To write directly to the STB-26 terminal board.
REMARKS: The terminal # has a one-to-one correspondence with the terminals on the STB-26. This feature eases
documentation and troubleshooting. Refer to card manual for terminal number range.
The LINE statement is similar to the BIT statement in that individual I/O bits or channels can be
controlled. It differs in that it is used specifically with the STB-26 terminal board and it executes
much faster.
The value is the state of the output. To turn an output on, enter a 1 or ON. To turn the output off,
enter a 0 or OFF. The ON and OFF execute faster than 1 or 0.
RELATED: LINE function
EXAMPLE: 10 LINE 113,ON
20 PRINT LINE(113)
RUN
1
In this example line 3 was turned on. Thus, a 1 is returned.
ERROR: <Data negative> - terminal #l and value
<Data out of range> - if value > 1 or not ON/OFF