4MELFA-BASIC IV
Detailed explanation of command words
4-178
Com On/Com Off/Com Stop (Communication ON/OFF/STOP)
[Function]
Com On
:Allows interrupts from a communication line.
Com Off
:Prohibits interrupts from a communication line.
Com Stop
:Prevents interrupts from a communication line temporarily (data is received).
Jump immediately to the interrupt routine the next time the Com On instruction is executed.
[Format]
[Terminology]
<Communication Line No.>
Describes numbers 1 to 3 assigned to the communication line.
(If the argument is omitted, 1 is set as the default value.)
[Reference Program]
Refer to
Page 231, "On Com GoSub (ON Communication Go Subroutine)"
.
[Explanation]
(1) When Com On Off is executed, even if communications are attempted, the interrupt will not be gener-
ated.
(2) For information on communication line Nos., refer to the
.
(3) After Com Stop is executed, even if communication is attempted, the interrupt will not be generated.
Note that the receiving data and the fact of the interrupt will be recorded, and be executed the next time
the line is reopened.
Com[(<Communication Line No.>)][]On
Com[(<Communication Line No.>)][]Off
Com[(<Communication Line No.>)][]Stop