11. Erase
This subprogram cause data constituting on Online 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
'cmpcd' is 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. If 'delay1' is positive or zero, a trailer will be sent after the erase; if negative, no trailer will be sent. 'delay1' is of type INTEGER*4.
'delay2' is 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 is of type INTEGER*4.
'time' is the length of time the subprogram is to wait for completion of the operation.
The completion codes for this operation are the same as for SEND.