REFRESH
Repaints the whole screen, erasing any extraneous characters (such as
those caused by noise on a communication line), and repositions the
text so the screen represents the last known state of the editing
context.
REFRESH redraws each line of each window mapped to the screen. The
prompt area is erased. The screen changes immediately: even if
REFRESH is done from within a procedure, DECTPU does not wait until the
entire procedure is completed to execute REFRESH.
Example
The following procedure erases the message buffer and repaints the
screen:
PROCEDURE user_repaint
ERASE (message_buffer);
REFRESH;
ENDPROCEDURE;
Related topics
MESSAGE UPDATE