13. ERASE
This subprogram causes data constituting an On-Line System command to erase the display tube to be sent from the specified local socket. The data is sent in a single standard message, including an op code indicating characters to be displayed as they are received, and optionally including a trailer. The subprogram waits for the data to be received by the foreign socket, or to be queued locally by the NCP. This operation is valid only when the local socket is a send socket, and is fully open.
The calling sequence is as follows:
CALL @ERASE(cmpcd, delay1, delay2, time);
where
cmpcdis the completion code variable associated with the local socket.delay1, in absolute value, is the length of time, in tenths of a second, the subprogram is to pause (in the WAIT state) before sending the erase. Ifdelay1is positive or zero, a trailer will be sent after the erase; if negative, no trailer will be sent.delay1has the attributes BINARY FIXED(31,0).delay2is the length of time, in tenths of a second, the subprogram is to pause after sending the erase and before returning control to the calling program, and has the attributes BINARY FIXED(31,0).timeis the length of time the subprogram is to wait for the completion of the operation.
The completion codes for this operation are the same as for SEND.